RFR: 8339772: serviceability/sa/TestJhsdbJstackUpcall.java fails on Linux ppc64le
Yasumasa Suenaga
ysuenaga at openjdk.org
Sat Sep 21 09:46:33 UTC 2024
On Thu, 19 Sep 2024 14:52:07 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
> The SA model of the UpcallStub doesn't work reliably on PPC64. We can use the Backchain which works for all Power Architecture 64-Bit ELF ABI compliant frames. (The backtrace should stop when hitting a non-compliant frame which can occur with some compiler options. Also see comment in JBS issue.)
> Note that this enables walking the native frames which is possible on PPC64, but not on some other platforms due to missing backlinks.
>
> "test/hotspot/jtreg/serviceability" tests have passed with this PR.
I'm not sure whether this PR is correct - if the app has several call stacks which do not compliant the ABI, this PR would not work. See https://github.com/openjdk/jdk/pull/20789#issuecomment-2324964613 for details.
It is better to use JavaFrameAnchor like other platforms if we can.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21092#issuecomment-2365119050
More information about the serviceability-dev
mailing list