RFR: 8016341 java/lang/ref/OOMEInReferenceHandler.java failing intermittently

David Holmes david.holmes at oracle.com
Tue Jul 2 04:38:10 UTC 2013

This recently added test was found to fail under some conditions - 
namely client compiler with -Xcomp. It seems that the use of all local 
variables enabled the compiler to optimize things in a way that stopped 
the weakref from being enqueued as expected. Simple fix was to make the 
weakref a field.



More information about the core-libs-dev mailing list