RFR: 8362515: RISC-V: cleanup NativeFarCall [v2]

Hamlin Li mli at openjdk.org
Mon Jul 21 08:35:27 UTC 2025


> 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.
> NativeFarCall is in fact a reloc call, the name is confusing, better to rename it to RelocCall.
> Also add some comments and do some other simple cleanup.
> 
> Thanks!

Hamlin Li has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - merge master
 - initial commit

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

Changes: https://git.openjdk.org/jdk/pull/26370/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26370&range=01
  Stats: 46 lines in 1 file changed: 8 ins; 3 del; 35 mod
  Patch: https://git.openjdk.org/jdk/pull/26370.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26370/head:pull/26370

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


More information about the hotspot-compiler-dev mailing list