Seen in CI testing:
...
"main" #1 prio=5 tid=0x000000c5d85b4800 nid=0x2388 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
JavaThread state: _thread_in_java
- jdk.test.lib.apps.LingeredApp.main(java.lang.String[]) @bci=37, line=475, pc=0x000000c5e39b4584, Method*=0x000000c5ff702a38 (Interpreted frame)
Locked ownable synchronizers:
- None
hsdb>
Starting clhsdb against 5924
Warning! JS Engine can't start, some commands will not be available.
hsdb> Address 0x000000c5e39b4584: In interpreter codelet "method entry point (kind = zerolocals)"
method entry point (kind = zerolocals) [0x000000c5e39b4568, 0x000000c5e39b4ae0) 1400 bytes
hsdb>
----------System.err:(43/2913)----------
Attaching to process 5840, please wait...
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
Attaching to process 5840, please wait...
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
Attaching to process 5924, please wait...
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
Attaching to process 5924, please wait...
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
stdout: [ Address 0x000000c5e39b4584: In interpreter codelet "method entry point (kind = zerolocals)"
method entry point (kind = zerolocals) [0x000000c5e39b4568, 0x000000c5e39b4ae0) 1400 bytes
];
stderr: [ Address 0x000000c5e39b4584: In interpreter codelet "method entry point (kind = zerolocals)"
method entry point (kind = zerolocals) [0x000000c5e39b4568, 0x000000c5e39b4ae0) 1400 bytes
]
exitValue = -1
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'invoke return entry points' missing from stdout/stderr
at ClhsdbFindPC.testFindPC(ClhsdbFindPC.java:95)
at ClhsdbFindPC.main(ClhsdbFindPC.java:104)
I'm not at all clear where LingeredApp is expecting to be executing when we hit it with jstack. But there doesn't appear to be any coordination here so presumably it is somewhat random and hence we may get an unexpected PC. ??