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

Andrew Haley aph at openjdk.org
Tue Sep 23 11:02:43 UTC 2025


On Wed, 13 Aug 2025 22:22:04 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: Bernhard Urban-Forster <lewurm at gmail.com>
>
> src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp line 265:
> 
>> 263:     // is called by the signal handler at arbitrary point of
>> 264:     // execution.
>> 265:     ThreadWXEnable wx(WXWrite, thread);
> 
> I'm not sure this ThreadWXEnable needs to use WXWrite.  I had changed it to WXExec in my experiments.

If it can be WXWrite or WXExec, then we don't need to set it at all, I suppose.

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

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


More information about the hotspot-dev mailing list