mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8265246: Fix macos-Aarch64 build after JDK-8263709
Reviewed-by: mikael
This commit is contained in:
parent
79bff21b43
commit
593194864a
2 changed files with 2 additions and 2 deletions
|
@ -1265,7 +1265,7 @@ void Runtime1::patch_code(JavaThread* current, Runtime1::StubID stub_id) {
|
|||
|
||||
// Enable WXWrite: the function is called by c1 stub as a runtime function
|
||||
// (see another implementation above).
|
||||
MACOS_AARCH64_ONLY(ThreadWXEnable wx(WXWrite, thread));
|
||||
MACOS_AARCH64_ONLY(ThreadWXEnable wx(WXWrite, current));
|
||||
|
||||
if (TracePatching) {
|
||||
tty->print_cr("Deoptimizing because patch is needed");
|
||||
|
|
|
@ -2472,7 +2472,7 @@ Deoptimization::update_method_data_from_interpreter(MethodData* trap_mdo, int tr
|
|||
|
||||
Deoptimization::UnrollBlock* Deoptimization::uncommon_trap(JavaThread* current, jint trap_request, jint exec_mode) {
|
||||
// Enable WXWrite: current function is called from methods compiled by C2 directly
|
||||
MACOS_AARCH64_ONLY(ThreadWXEnable wx(WXWrite, thread));
|
||||
MACOS_AARCH64_ONLY(ThreadWXEnable wx(WXWrite, current));
|
||||
|
||||
if (TraceDeoptimization) {
|
||||
tty->print("Uncommon trap ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue