RFR: 8341562: RISC-V: Generate comments in -XX:+PrintInterpreter to link to source code [v2]

SendaoYan syan at openjdk.org
Mon Oct 7 04:05:53 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 RISC-V either.
> 
> Additonal testing:
> 
> - [x] riscv native build with slowdebug and fastdebug
> - [x] jtreg tier1 test with release build

SendaoYan has updated the pull request incrementally with one additional commit since the last revision:

  revert copyright year change of Huawei

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21370/files
  - new: https://git.openjdk.org/jdk/pull/21370/files/1ba36f6d..f18d6fe3

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

  Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/21370.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21370/head:pull/21370

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


More information about the hotspot-dev mailing list