RFR: 8339307: jhsdb jstack could not trace FFM upcall frame [v2]

Yasumasa Suenaga ysuenaga at openjdk.org
Sat Sep 7 00:07:27 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.

Yasumasa Suenaga has updated the pull request incrementally with two additional commits since the last revision:

 - Update test/hotspot/jtreg/serviceability/sa/libupcall.c
   
   Co-authored-by: Jorn Vernee <JornVernee at users.noreply.github.com>
 - Update src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/ppc64/PPC64Frame.java
   
   Co-authored-by: Jorn Vernee <JornVernee at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20885/files
  - new: https://git.openjdk.org/jdk/pull/20885/files/f22c6236..6cd05f8f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20885&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20885&range=00-01

  Stats: 3 lines in 2 files changed: 1 ins; 0 del; 2 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