Garbage collection race condition before final checks

Gary Adams gary.adams at
Tue Nov 15 12:26:00 UTC 2011

  Added PlatformLoggingMXBeanTest to the 7067691 bug fix,
e.g. instance variables for Logger variables to prevent premature
weak reference collection.

Fresh webrevs for the other work in progress bug fixes.

On 11/10/11 09:41 AM, Gary Adams wrote:
>  On 11/ 8/11 11:13 PM, Mandy Chung wrote:
>> Thanks for picking up this bug and fixing this intermittent issue.  
>> in the same directory has the same issue.  
>> It'd be good to fix that with the same CR.  These tests were copied from 
>> test/java/util/logging/  I haven't looked in details 
>> but I wonder why the test/java/util/logging tests don't have this 
>> intermittent issue and I suspect it holds a strong reference.
> I attempted to break with a generous 
> application of
> GC calls, but I could not get it to fail in the same manner as the other test. 
> It may be
> failing due to a different condition.

More information about the core-libs-dev mailing list