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

Yasumasa Suenaga ysuenaga at openjdk.org
Sun Oct 26 13:30:45 UTC 2025


On Sat, 25 Oct 2025 02:55:27 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

>> I am not sure about the glibc version as I don't know much about the differences among these distributions.
>> But it works for me if you want to fix all the affected tests in another PR. Thanks for considering that.
>
> 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 .

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

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


More information about the serviceability-dev mailing list