W^X adds a substantial overhead, up to 50ns in some cases, even on a fast CPU. By only changing W^X mode when it is necessary, we can remove 90% of the W^X switches.
- relates to
-
JDK-8307817 AARCH64: make macOS W^X locking more fine grained
-
- In Progress
-
-
JDK-8328306 Allow VM to run with X memory execute by default
-
- In Progress
-