RFR: 8369505: jhsdb jstack --mixed cannot handle continuation stub [v5]

Yasumasa Suenaga ysuenaga at openjdk.org
Mon Oct 13 08:35:01 UTC 2025


On Mon, 13 Oct 2025 05:05:28 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Apply changes to RISC-V code
>
> test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackMixedWithVirtualThread.java line 39:
> 
>> 37:  * @test
>> 38:  * @bug 8369505
>> 39:  * @requires (os.family == "linux") & (vm.hasSA)
> 
> I think it would be good to run this on macosx also, but it can't be run --mixed. I did reproduce the exception on macosx without --mixed. It doesn't however produce the "<StubRoutines (continuation stubs)>" frame. The test would need to be modified to instead check for the exception.
> 
> Probably we should run this on Windows also.

I updated testcase to run this on other platforms - runs `jhsdb jstack` without `--mixed` and checks stderr.

I tested on Windows, but I didn't see any errors - I guess `jhsdb jstack` couldn't unwind stacks on Windows, thus it did not reach continuation stub. But it is different problem.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27728#discussion_r2425558934


More information about the serviceability-dev mailing list