On Thu, 23 Oct 2025 03:13:43 GMT, Fei Yang <[email protected]> wrote:

>> This problem is in mixed mode (`PStack`) only, thus we need to skip OSX 
>> because [you 
>> mentioned](https://github.com/openjdk/jdk/pull/27728#issuecomment-3392919979)
>>  mixed mode is not supported on OSX.
>> 
>> In Windows, I'm not sure, but I guess we need to consider `UNWIND_INFO` to 
>> unwind call frames correctly like DWARF in Linux, however it hasn't done 
>> yet. Thus we can think mixed mode is not supported in Windows too, so I 
>> didn't add Windows here.
>> https://learn.microsoft.com/cpp/build/exception-handling-x64
>> 
>> Actually I could not see all of stacks as following in mixed mode. It works 
>> in normal mode (without `--mixed`) of course. (I tested it on Windows 11 
>> x64, upstream JDK built by VS 2022)
>> 
>> ----------------- 13 -----------------
>> "Reference Handler" #15 daemon prio=10 tid=0x00000207280b9f70 nid=12684 
>> waiting on condition [0x000000aaf6aff000]
>>    java.lang.Thread.State: RUNNABLE
>>    JavaThread state: _thread_blocked
>> 0x00007fffa6b45844      ntdll!NtWaitForAlertByThreadId + 0x14
>> 0x00000000ffffffff              ????????
>
> Mind you that this new test seems to fail even on linux systems without 
> pstack. This is happening on both of my AMD64 machine running Debian 12 and 
> ARM64 machine running Ubuntu 22.04.4.

Can you share .jtr file?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/27885#discussion_r2453904309

Reply via email to