RFR (XS): 8232182: RedefineNestmateAttr/TestNestmateAttr.java failes due to ObjectCollectedException

Martin Buchholz martinrb at google.com
Tue Oct 15 16:38:07 UTC 2019


A slightly cleaner way to do this is probably via

try { ... } finally { reachabilityFence(topLevelHostA); }

instead of a static field

On Mon, Oct 14, 2019 at 12:15 AM David Holmes <david.holmes at oracle.com>
wrote:

> Bug: https://bugs.openjdk.java.net/browse/JDK-8232182
> webrev: http://cr.openjdk.java.net/~dholmes/8232182/webrev/
>
> Running this test with ZGC showed that a class we were still interested
> in could become unloaded. Simple fix is to store the Class reference in
> a static field.
>
> Thanks,
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20191015/d227f6c6/attachment.html>


More information about the serviceability-dev mailing list