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

Andrew Haley aph at openjdk.org
Tue Sep 23 14:29:18 UTC 2025


On Wed, 13 Aug 2025 22:02:20 GMT, Dean Long <dlong at openjdk.org> wrote:

>> I don't believe the order is going to matter (tell me if I am wrong) but I think it would be better to order them consistently, not just because I am a 'typical computer programmer' but because someone might be puzzled as to whether the re-ordering is significant (ok, yes, I guess that 'someone' would be a 'typical computer programmer' or maybe just me). I suggested both after because the async thread transition has a bail out and we might as well bail early . . .
>
> I like having the mode change after the thread state change.  In my experiements, I tried to assert that we only change thread state when we are in Exec mode, but ended up relaxing that for Compiler and GC threads.

All done, I think.

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

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


More information about the hotspot-dev mailing list