RFR: 8361449: RISC-V: Code cleanup for native call [v2]

Feilong Jiang fjiang at openjdk.org
Sat Jul 12 08:44:40 UTC 2025


On Sat, 12 Jul 2025 08:24:45 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:

>> Dingli Zhang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove outdated comments
>
> src/hotspot/cpu/riscv/relocInfo_riscv.cpp line 76:
> 
>> 74: address Relocation::pd_call_destination(address orig_addr) {
>> 75:   assert(is_call(), "should be a call here");
>> 76:   if (orig_addr == nullptr) {
> 
> IIUC, it is synchronized with [JDK-8321509](https://bugs.openjdk.org/browse/JDK-8321509)? Should we add `USE_TRAMPOLINE_STUB_FIX_OWNER` and the other stuff?

[JDK-8343430](https://bugs.openjdk.org/browse/JDK-8343430) already removed the trampoline call for RISCV, so we are good, right?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26150#discussion_r2202449018


More information about the hotspot-compiler-dev mailing list