RFR: 8328306: AArch64: MacOS lazy JIT "write xor execute" switching [v3]

Andrew Haley aph at openjdk.org
Fri Aug 15 17:13:14 UTC 2025


On Thu, 14 Aug 2025 20:16:11 GMT, Dean Long <dlong at openjdk.org> wrote:

>> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp
>>   
>>   Co-authored-by: Dean Long <17332032+dean-long at users.noreply.github.com>
>
> src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp line 377:
> 
>> 375:   MacroAssembler a(&cbuf);
>> 376: 
>> 377:   MACOS_AARCH64_ONLY(os::thread_wx_enable_write());
> 
> Harmless, but already handled by set_destination().  I'm not sure about emit_trampoline_stub().

I'm not sure about emit_trampoline_stub() either, but I'll leave that one.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26562#discussion_r2279518950


More information about the hotspot-dev mailing list