File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/hotspot/share/jfr/support Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
33* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44*
55* This code is free software; you can redistribute it and/or modify it
@@ -117,6 +117,7 @@ static void commit(const HelperType& helper) {
117117 JavaThread* jt = JavaThread::cast (thread);
118118 if (jt->thread_state () == _thread_in_native) {
119119 // For a JavaThread to take a JFR stacktrace, it must be in _thread_in_vm. Can safepoint here.
120+ MACOS_AARCH64_ONLY (ThreadWXEnable __wx (WXWrite, jt));
120121 ThreadInVMfromNative transition (jt);
121122 event.commit ();
122123 return ;
You can’t perform that action at this time.
0 commit comments