RFR: 8346838: RISC-V: runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java crash with debug VMs
Feilong Jiang
fjiang at openjdk.org
Mon Dec 30 11:17:41 UTC 2024
On Thu, 26 Dec 2024 03:25:17 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Hi, Please review this small change.
>
> On the crash site, we are invoking the `SharedRuntime::dsin` C++ routine with `call(address)`. After [JDK-8343242](https://bugs.openjdk.org/browse/JDK-8343242), `call(address)` won't check the range. It emits `auipc + jalr` sequence and thus expects intra code cache targets, which is not the case for these callsites. For targets outside of the code cache, we should use the `rt_call` assembler routine which performs necessary check about the target.
>
> Testing: Same test passes with fastdebug build on Premier P550 SBC.
Marked as reviewed by fjiang (Committer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/22884#pullrequestreview-2525469197
More information about the hotspot-runtime-dev
mailing list