Skip to content

Commit 787ccf8

Browse files
author
Vladimir Kempik
committed
Add two missing WX transitions
1 parent e48a9f8 commit 787ccf8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hotspot/share/runtime/interfaceSupport.inline.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ extern "C" { \
534534
result_type JNICALL header { \
535535
JavaThread* thread=JavaThread::thread_from_jni_environment(env); \
536536
assert( !VerifyJNIEnvThread || (thread == Thread::current()), "JNIEnv is only valid in same thread"); \
537+
MACOS_AARCH64_ONLY(ThreadWXEnable __wx(WXWrite, thread)); \
537538
ThreadInVMfromNative __tiv(thread); \
538539
debug_only(VMNativeEntryWrapper __vew;) \
539540
VM_QUICK_ENTRY_BASE(result_type, header, thread)
@@ -578,6 +579,7 @@ extern "C" { \
578579
extern "C" { \
579580
result_type JNICALL header { \
580581
JavaThread* thread=JavaThread::thread_from_jni_environment(env); \
582+
MACOS_AARCH64_ONLY(ThreadWXEnable __wx(WXWrite, thread)); \
581583
ThreadInVMfromNative __tiv(thread); \
582584
debug_only(VMNativeEntryWrapper __vew;) \
583585
VM_QUICK_ENTRY_BASE(result_type, header, thread)

0 commit comments

Comments
 (0)