mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8329748: Change default value of AssertWXAtThreadSync to true
Reviewed-by: kvn, rrich
This commit is contained in:
parent
67f03f2a4f
commit
3d511ff63e
@ -35,7 +35,7 @@
|
||||
range, \
|
||||
constraint) \
|
||||
\
|
||||
AARCH64_ONLY(develop(bool, AssertWXAtThreadSync, false, \
|
||||
AARCH64_ONLY(develop(bool, AssertWXAtThreadSync, true, \
|
||||
"Conservatively check W^X thread state at possible safepoint" \
|
||||
"or handshake"))
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -74,6 +74,7 @@ void* JfrIntrinsicSupport::write_checkpoint(JavaThread* jt) {
|
||||
|
||||
void* JfrIntrinsicSupport::return_lease(JavaThread* jt) {
|
||||
DEBUG_ONLY(assert_precondition(jt);)
|
||||
MACOS_AARCH64_ONLY(ThreadWXEnable __wx(WXWrite, jt));
|
||||
ThreadStateTransition::transition_from_java(jt, _thread_in_native);
|
||||
assert(jt->jfr_thread_local()->has_java_event_writer(), "invariant");
|
||||
assert(jt->jfr_thread_local()->shelved_buffer() != nullptr, "invariant");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user