RFR: 8358329: AArch64: emit direct branches in static stubs for small code caches [v2]
Mikhail Ablakatov
mablakatov at openjdk.org
Wed Jun 11 15:37:49 UTC 2025
On Tue, 10 Jun 2025 10:04:03 GMT, Andrew Haley <aph at openjdk.org> wrote:
>> src/hotspot/cpu/aarch64/compiledIC_aarch64.cpp line 106:
>>
>>> 104: } else {
>>> 105: NativeJump::insert(method_holder->next_instruction_address(), entry);
>>> 106: }
>>
>> Suggestion:
>>
>> MacroAssembler::pd_patch_instruction(method_holder->next_instruction_address(), entry);
>
> Please also delete `NativeGeneralJump::insert_unconditional`, which is no longer used.
Done, thank you. See https://github.com/openjdk/jdk/pull/25702/commits/7ef1c4aec9531914bfae576e01a85edb7e197f1b
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25702#discussion_r2140503056
More information about the hotspot-dev
mailing list