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).

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

Commit messages:
 - 8386593: AArch64: serviceability/sa/TestJhsdbJstackMixedWithXComp.java fails 
on Ubuntu 26.04

Changes: https://git.openjdk.org/jdk/pull/31669/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31669&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8386593
  Stats: 480 lines in 18 files changed: 418 ins; 43 del; 19 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

Reply via email to