Hi all, Thread dump shows lock objects, however jstack jhsdb and jstack in CLHSDB are not show them. They are very useful for checking monitors. So jstack mode should show them.
I uploaded webrev. Could you review it? http://cr.openjdk.java.net/~ysuenaga/JDK-8185796/webrev.00/ This change prints locked stack looks like: * jhsdb jstack ---------------- "main" #1 prio=5 tid=0x00007f1844018800 nid=0xe7f0 waiting on condition [0x00007f184df31000] java.lang.Thread.State: TIMED_WAITING (sleeping) JavaThread state: _thread_blocked - java.lang.Thread.sleep(long) @bci=0 (Interpreted frame) - LongLock.main(java.lang.String[]) @bci=8, line=4 (Interpreted frame) - locked <0x00000000dfc13b28> (a java.lang.Class) ---------------- * jstack in CLHSDB ---------------- "main" #1 prio=5 tid=0x00007f1844018800 nid=0xe7f0 waiting on condition [0x00007f184df31000] java.lang.Thread.State: TIMED_WAITING (sleeping) JavaThread state: _thread_blocked - java.lang.Thread.sleep(long) @bci=0 (Interpreted frame) - LongLock.main(java.lang.String[]) @bci=8, line=4 (Interpreted frame) - locked <0x00000000dfc13b28> (a java.lang.Class) ---------------- I cannot access JPRT. So I need a sponsor. Thanks, Yasumasa