RFR: 8341688: Aarch64: Generate comments in -XX:+PrintInterpreter to link to source code

SendaoYan syan at openjdk.org
Tue Oct 8 06:28:37 UTC 2024


Hi all,
The command "java -XX:+UnlockDiagnosticVMOptions -XX:+PrintInterpreter" can be used to print a disassembly of the HotSpot interpreter.
In [JDK-8204267](https://bugs.openjdk.org/browse/JDK-8204267), the interpreter generate comments to link the instructions back to the C++ source code that generates them, but the releated PR only support x86 backend, I think it's doable on aarch64 either.

Additonal testing:

- [ ] aarch64 native build with slowdebug and fastdebug
- [ ] jtreg tests(include tier1/tier2/tier3 etc.) with release build

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

Commit messages:
 - 8341688: Aarch64: Generate comments in -XX:+PrintInterpreter to link to source code

Changes: https://git.openjdk.org/jdk/pull/21400/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21400&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341688
  Stats: 22 lines in 3 files changed: 11 ins; 0 del; 11 mod
  Patch: https://git.openjdk.org/jdk/pull/21400.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21400/head:pull/21400

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


More information about the hotspot-dev mailing list