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

Hohensee, Paul hohensee at amazon.com
Mon Oct 14 14:46:35 UTC 2019


Looks good.

Paul

On 10/14/19, 12:16 AM, "serviceability-dev on behalf of David Holmes" <serviceability-dev-bounces at openjdk.java.net on behalf of 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
    



More information about the serviceability-dev mailing list