RFR: 8366747: RISC-V: Improve VerifyMethodHandles for method handle linkers

Anjian Wen wenanjian at openjdk.org
Wed Sep 3 01:30:56 UTC 2025


According to JDK-8353216,Add extra verification logic into MethodHandle::invokeBasic/linkTo* to ensure that holder classes are properly initialized on riscv platform.

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

Commit messages:
 - RISC-V: Improve VerifyMethodHandles for method handle linkers

Changes: https://git.openjdk.org/jdk/pull/26938/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26938&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366747
  Stats: 52 lines in 2 files changed: 46 ins; 1 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/26938.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26938/head:pull/26938

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


More information about the hotspot-compiler-dev mailing list