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

Andrew Haley aph at openjdk.org
Fri Jan 23 16:05:30 UTC 2026


On Thu, 18 Dec 2025 01:55:12 GMT, Dean Long <dlong at openjdk.org> wrote:

>> Andrew Haley has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 43 commits:
>> 
>>  - Merge from maaster
>>  - Merge from maaster
>>  - Merge branch 'master' into JDK-8328306
>>  - Cleanup
>>  - Check for working WX
>>  - Check for working WX
>>  - Check for working WX
>>  - Check for working WX
>>  - Check for working WX
>>  - Check for working WX
>>  - ... and 33 more: https://git.openjdk.org/jdk/compare/9a88d7f4...42e5505d
>
> src/hotspot/share/code/nmethod.cpp line 2197:
> 
>> 2195: 
>> 2196: void nmethod::mark_as_maybe_on_stack() {
>> 2197:   MACOS_AARCH64_ONLY(os::thread_wx_enable_write());
> 
> After JDK-8373794, we won't need to be in write mode to modify nmethod fields.

Sorry, found it.

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

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


More information about the hotspot-dev mailing list