RFR: JDK-8229829: java/lang/management/ThreadMXBean/Locks.java fails with java.lang.RuntimeException: Thread WaitingThread is at WAITING state but is expected to be in Thread.State = WAITING

Alex Menkov alexey.menkov at oracle.com
Thu May 14 00:55:03 UTC 2020


Hi all,

Please review the fix for
https://bugs.openjdk.java.net/browse/JDK-8229829
webrev:
http://cr.openjdk.java.net/~amenkov/jdk15/Locks_waiting/webrev/

The fix adds handling for WAITING (and for consistency TIMED_WAITING 
which is not used in the test) states as it has for BLOCKED state.

--alex


More information about the serviceability-dev mailing list