RFR: 8370176: Mixed mode jhsdb jstack cannot unwind call stack with -Xcomp [v2]

Fei Yang fyang at openjdk.org
Mon Oct 27 04:41:01 UTC 2025


On Sun, 26 Oct 2025 13:27:41 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

>> I updated this PR to check glibc version in TestJhsdbJstackMixedWithXComp.java added by this PR. It skips the test on Ubuntu 22.04, OTOH it works on Fedora 43. It is expected.
>> I attempted to add this check to `SATestUtils` at first, but it seems to be difficult because native access have to be allowed all of `SATestUtils` users - the impact is too significant.
>> 
>> I will file another issue to apply this check to other tests of `jhsdb jstack --mixed` user after this PR.
>
> I updated testcase again. It is more scalable for other mixed jstack tests. It works fine on both Fedora 43 and Ubuntu 22.04 .

Still fails on other distros like Debian 13 on AMD64. It has glibc version 2.41. Attached please fine the JTR file.

[TestJhsdbJstackMixedWithXComp.jtr.txt](https://github.com/user-attachments/files/23156708/TestJhsdbJstackMixedWithXComp.jtr.txt)

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

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


More information about the serviceability-dev mailing list