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

Hamlin Li mli at openjdk.org
Thu Jul 24 11:25:37 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 incrementally with one additional commit since the last revision:

  remove NativeFarCall/RelocCall

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26370/files
  - new: https://git.openjdk.org/jdk/pull/26370/files/f72db245..37820220

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26370&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26370&range=02-03

  Stats: 133 lines in 2 files changed: 11 ins; 96 del; 26 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