RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v9]
Andrew Haley
aph at redhat.com
Thu Feb 4 08:20:26 UTC 2021
On 2/3/21 8:01 PM, Anton Kozlov wrote:
> The basic principle has not changed: when we execute JVM code (owned by libjvm.so, starting from JVM entry function), we switch to Write state. When we leave JVM to execute generated or JNI code, we switch to Executable state. I would like to highlight that JVM code does not mean the VM state of the java thread. After @stefank's suggestion, I could also drop a few W^X state switches, so now it should be more clear that switches are tied to JVM entry functions.
I haven't got a MacOS AArch64 system right now. Is it possible to
enable W^X in Linux in order to kick the tyres?
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-dev
mailing list