RFR 8031701: java/lang/management/ThreadMXBean/Locks.java: Thread WaitingThread is expected to wait on Object but got null Thread.State = RUNNABLE
jaroslav.bachorik at oracle.com
Tue Jan 21 07:50:51 PST 2014
Please, review the following test fix.
Issue : https://bugs.openjdk.java.net/browse/JDK-8031701
The ThreadExecutionSynchronizer was replaced by Phaser - this should
give more predictable results.
Also, "checkBlockedObject()" failed to re-retrieve the ThreadInfo while
waiting for the thread to become blocked. This would lead to timing out
the test and producing the error message used as the issue subject. The
fix for this is at L78-79
More information about the serviceability-dev