Hi all,

Please review this small fix and cleanup to this test. The old version would force garbage collection of an unreferenced RMI object by allocating lots and lots of memory until OOME is received, which takes a long time and could cause a timeout. The better approach is simply to unexport the object.

I also did additional cleanups, such as not leaking the reference to 'this' from within the constructor, making comments and messages more concise, etc.

Webrev:

    http://cr.openjdk.java.net/~smarks/reviews/8035117/webrev.0/

Bug:

    https://bugs.openjdk.java.net/browse/JDK-8035117

Thanks,

s'marks

Reply via email to