RFR: 8326306: RISC-V: Re-structure MASM calls and jumps [v8]
Robbin Ehn
rehn at openjdk.org
Wed May 8 12:44:52 UTC 2024
On Wed, 8 May 2024 12:33:33 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
>> Try this: `make test TEST="runtime/jni/FastGetField/FastGetField.java"`
>> The assertion failed on both linux-aarch64 and linux-riscv64 platforms.
>
> If `-UseFastJNIAccessors or +VerifyJNIFields or +CheckJNICalls` we never use the stubs.
> In this case the JVM TI agent have callbacks since it have field watches, so it turns the stubs off.
>
> Good catch thanks!
As you turn off "fast JNI" with those option I think it's fine to use rt_call, which would do movptr in this case.
If you wanted fast JNI you shouldn't turn it off.
But I can revert to la+jalr if you feel strongly about it?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18942#discussion_r1593967094
More information about the hotspot-dev
mailing list