RFR: 8361449: RISC-V: Code cleanup for native call

Dingli Zhang dzhang at openjdk.org
Mon Jul 7 02:35:11 UTC 2025


Hi, please consider this code cleanup change for native call.

This removes the address parameter for NativeCall::reloc_destination and NativeFarCall::reloc_destination.
This also removes several unnecessary code blob related runtime checks turning them into assertions.

### Testing
* [x]  hs:tier1 - hs:tier3 tested with linux-riscv64 fastdebug build

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

Commit messages:
 - 8361449: RISC-V: Code cleanup for native call

Changes: https://git.openjdk.org/jdk/pull/26150/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26150&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8361449
  Stats: 39 lines in 3 files changed: 5 ins; 12 del; 22 mod
  Patch: https://git.openjdk.org/jdk/pull/26150.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26150/head:pull/26150

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


More information about the hotspot-compiler-dev mailing list