On Sun, 24 May 2026 19:15:10 GMT, Vladimir Kozlov <[email protected]> wrote:

>> We changed this in 
>> [JDK-8383565](https://bugs.openjdk.org/browse/JDK-8383565). Since the guard 
>> value is at a known offset we just calculate it from the nmethod's 
>> entrypoint(s) instead of using relocations.
>
> Okay. My next question was about relocation but I see comment in OR that 
> RISC-V still uses it.

Hopefully, relocation `entry_guard_Relocation` could be cleaned up after merge 
of https://github.com/openjdk/valhalla/pull/2531 which removes use of this 
relocation for RISC-V.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31122#discussion_r3378689697

Reply via email to