Ok. Thanks, David
On 21/01/2014 9:31 PM, Jaroslav Bachorik wrote:
Please, review the following test fix. Issue : https://bugs.openjdk.java.net/browse/JDK-8032377 Webrev: http://cr.openjdk.java.net/~jbachorik/8032377/webrev.00 test/java/lang/management/ThreadMXBean/ThreadBlockedCount.java still fails intermittently due to locking happening at the class loading level which is not 100% predictable. After many tries to force predictable behaviour it seems that the only way to fix this is to relax the test condition - so the test requires that the number of times the thread went blocked is equal or bigger than the anticipated number (the number of times the test forces the thread to block). Thanks, -JB-