RFR: 8346838: RISC-V: runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java crash with debug VMs

Fei Yang fyang at openjdk.org
Thu Dec 26 03:37:05 UTC 2024


Hi, Please review this small change.

On the crash site, we are invoking the `SharedRuntime::dsin` C++ routine with `call(address)`. But `call(address)` do auipc + jalr and thus expects intra code cache targets, which is not satisfied for this case. For targets outside of the code cache, we should use the `rt_call` assembler routine which performs necessary check for us.

Testing: Same test passes with fastdebug build on Premier P550 SBC.

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

Commit messages:
 - 8346838: RISC-V: runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java crash with debug VMs

Changes: https://git.openjdk.org/jdk/pull/22884/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22884&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8346838
  Stats: 7 lines in 1 file changed: 0 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/22884.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22884/head:pull/22884

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


More information about the hotspot-runtime-dev mailing list