Integrated: 8362515: RISC-V: cleanup NativeFarCall

Hamlin Li mli at openjdk.org
Mon Jul 28 08:44:03 UTC 2025


On Thu, 17 Jul 2025 14:17:45 GMT, Hamlin Li <mli at openjdk.org> wrote:

> Hi,
> Can you help to review this patch?
> 
> By https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/riscv/macroAssembler_riscv.hpp#L1270, there are far call, indirect call, reloc call.
> <del>NativeFarCall is in fact a reloc call, the name is confusing, better to rename it to RelocCall.</del>
> Finally, choose to remove the NativeFarCall and delegation from NativeCall to NativeFarCall, and move all the implementation to NativeCall itself.
> Also add some comments and do some other simple cleanup.
> 
> Thanks!

This pull request has now been integrated.

Changeset: 3e2d12d8
Author:    Hamlin Li <mli at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3e2d12d85a35d9724c2ddf17a2dccf4b0866bc62
Stats:     139 lines in 2 files changed: 11 ins; 97 del; 31 mod

8362515: RISC-V: cleanup NativeFarCall

Reviewed-by: fyang, fjiang

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

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


More information about the hotspot-compiler-dev mailing list