> TestJhsdbJstackMixedWithXComp.java fails on Ubuntu 26.04 on Neoverse V1 and > V2 processor. > > I introduced DWARF support in mixed jstack in > [JDK-8377946](https://bugs.openjdk.org/browse/JDK-8377946), however I > mentioned it does not support PAC (Pointer Authentication Code) in PR #29731. > It is the reason why TestJhsdbJstackMixedWithXComp.java failed on Neoverse V1 > and V2. They support PAC, and it is enabled on the Kernel on Ubuntu 26.04 by > default. > > This PR adds to feature to treat PAC in Linux AArch64. It is Arm-specific > feature, so I separated them in following new classes. It is one of the > reason why this change is bigger. > > - AARCH64DwarfParser.java > - LinuxAARCH64DebuggerLocal.java > - aarch64Dwarf.cpp/hpp (for `DwarfParser` in native) > > serviceability/sa tests passed on Linux AMD64, Linux AArch64 (PAC disabled), > and Linux AArch64 (PAC enabled). > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Yasumasa Suenaga has updated the pull request incrementally with two additional commits since the last revision: - Use print_debug() when encountering unknown DWARF operations - Add onAttach() to LinuxDebuggerLocal to execute platform-dependent process ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31669/files - new: https://git.openjdk.org/jdk/pull/31669/files/cef07ac7..c67c1d75 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31669&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31669&range=01-02 Stats: 25 lines in 3 files changed: 16 ins; 8 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/31669.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31669/head:pull/31669 PR: https://git.openjdk.org/jdk/pull/31669
