[aarch64-port-dev ] Withdrawn: 8253816: Switch to Exec W^X mode after JNI DetachCurrentThread
Anton Kozlov
akozlov at openjdk.java.net
Thu Dec 17 15:33:29 UTC 2020
On Wed, 9 Dec 2020 14:57:42 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:
> JVM leaves Writeable mode for W^X after JNI detach thread. #9 describes an example when this breaks application expectations: a thread returns to a code generated by the application after JNI detach and crashes. Since the default mode is Executable, the change to Writeable is implicit and not expected.
>
> The proposed solution is to ensure Executable mode after JNI detach.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.java.net/aarch64-port/pull/10
More information about the aarch64-port-dev
mailing list