On Sun, 24 May 2026 10:03:35 GMT, Joel Sikström <[email protected]> wrote:

>> src/hotspot/cpu/aarch64/c2_CodeStubs_aarch64.cpp line 62:
>> 
>>> 60: 
>>> 61:   __ bind(guard());
>>> 62:   __ relocate(entry_guard_Relocation::spec());
>> 
>> Why it was removed?
>
> 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.

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

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

Reply via email to