-
Bug
-
Resolution: Unresolved
-
P4
-
11, 17, 17.0.10, 18, 19, 20
-
x86_64, aarch64
-
linux, os_x, windows
A number of tests used to fail because of this. See
"SteadyStateThread" #10 prio=5 tid=0x000001afc3e12af0 nid=0x85f4 waiting for monitor entry [0x000000922a6ff000]
java.lang.Thread.State: BLOCKED (on object monitor)
JavaThread state: _thread_blocked
It's unclear how this could happen. SA does need to do a fair amount of guessing and trial-and-error in its attempt to walk the stack. Possibly it thought it found a valid ToS, but that led to no frames, and because it thought it was valid it didn't continue searching for another valid ToS.
Note this is happening not only when using jstack, but also with dumpheap, which includes the stack trace in the heap dump.
- duplicates
-
JDK-8277079 serviceability/sa/ClhsdbFindPC.java fails with ArrayIndexOutOfBoundsException
- Closed
-
JDK-8268645 sun/tools/jhsdb/HeapDumpTest.java failed with "RuntimeException: 'LingeredApp.steadyState' missing from stdout/stderr"
- Closed
-
JDK-8274055 serviceability/sa/ClhsdbWhere.java fails with 'private static void steadyState' missing from stdout/stderr
- Closed
-
JDK-8275571 Test serviceability/sa/ClhsdbCDSJstackPrintAll.java fails: 'LingeredApp.steadyState' missing from stdout/stderr
- Closed
-
JDK-8275845 Test serviceability/sa/ClhsdbDumpheap.java failed for no obvious reason
- Closed
- relates to
-
JDK-8243455 Many SA tests can fail due to trying to get the stack trace of an active method
- Resolved
-
JDK-8268645 sun/tools/jhsdb/HeapDumpTest.java failed with "RuntimeException: 'LingeredApp.steadyState' missing from stdout/stderr"
- Closed
- links to
-
Review(master) openjdk/jdk/19951