RFR: 8339307: jhsdb jstack could not trace FFM upcall frame

Yasumasa Suenaga ysuenaga at openjdk.org
Fri Sep 6 13:40:12 UTC 2024


This PR is successor of #20789 . I got some comments in there, then I needed to fix in many pooints. And also I have to fix branch name to kick GHA automatically (#20789 is named with `pr/`, it meets the condition to skip GHA). Hence I've opened another PR for this JBS issue.

This PR has been updated with about topics since #20789:
* Use `JavaFrameAnchor` instead of raw frame pointer to unwind frame of `UpcallStub`.
* The change happens x86 (includes AMD64), aarch64, PPC64, RISC-V 64 only - s390 is out of scope because SA does not have s390 implementation.
    * Only both AMD64 and aarch64 have tested on GHA.
* Refactor testcase to meet expected condition certainly.

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

Commit messages:
 - 8339307: jhsdb jstack could not trace FFM upcall frame

Changes: https://git.openjdk.org/jdk/pull/20885/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20885&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8339307
  Stats: 449 lines in 12 files changed: 439 ins; 0 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/20885.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20885/head:pull/20885

PR: https://git.openjdk.org/jdk/pull/20885


More information about the serviceability-dev mailing list