RFR: 8370176: Mixed mode jhsdb jstack cannot unwind call stack with -Xcomp [v2]
Yasumasa Suenaga
ysuenaga at openjdk.org
Thu Oct 23 04:51:02 UTC 2025
On Wed, 22 Oct 2025 21:00:22 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
>> Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update testcase
>
> Changes look good. Thanks for fixing this.
@plummercj Thanks a lot for your review!
I'm trying to fix mixed mode on Windows. I think we can unwind native stacks with [this change](https://github.com/YaSuenag/jdk/commit/71fc6df3d9e46e03d956f08c03fdefc6e12586fd), but it is not enough for Java frames - I think we can see all of them if we modify after this PR.
----------------- 13 -----------------
"Reference Handler" #15 daemon prio=10 tid=0x000001a8df240270 nid=4800 waiting on condition [0x0000002207fff000]
java.lang.Thread.State: RUNNABLE
JavaThread state: _thread_blocked
0x00007fff725a5844 ntdll!NtWaitForAlertByThreadId + 0x14
0x00007fff7244c30b ntdll!RtlSleepConditionVariableCS + 0x14b
0x00007fff6f6ca688 KERNELBASE!SleepConditionVariableCS + 0x38
0x00007ffed580c92d jvm!PlatformMonitor::wait + 0x3d
0x00007ffed5796f3f jvm!Monitor::wait + 0x15f
0x00007ffed5448310 jvm!JVM_WaitForReferencePendingList + 0xb0
0x000001a8ce87fa18 <interpreter> native method entry point (kind = native)
0x000001a8df240710 ????????
0x0000002207fffa38 ????????
0x000001a8df240270 ????????
0x000001a8e000bd98 ????????
0x000001a8ce87f39b <interpreter> native method entry point (kind = native)
0xfffffffffffffff7 ????????
0x000000003e871a28 ????????
0x0000000000000003 ????????
0x000000003e2054f8 ????????
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27885#issuecomment-3435068616
More information about the serviceability-dev
mailing list