RFR 8064441: java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object
serguei.spitsyn at oracle.com
serguei.spitsyn at oracle.com
Thu Nov 27 00:05:22 UTC 2014
Jaroslav,
The fix looks good.
Thanks,
Serguei
On 11/26/14 4:57 AM, Jaroslav Bachorik wrote:
> Please, review the following test change
>
> Issue : https://bugs.openjdk.java.net/browse/JDK-8064441
> Webrev: http://cr.openjdk.java.net/~jbachorik/8064441/webrev.00
>
> The test fails because of System.out.println() may induce unexpected
> locking. The solution is to use an already existing LockFreeLogManager
> library class to collect the logs in the lock-free manner and print
> the logs only after all the test code has been run.
>
> Thanks,
>
> -JB-
More information about the serviceability-dev
mailing list