mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8254264: Remove redundant cross_modify_fence()
Reviewed-by: rehn, dholmes, dcubed
This commit is contained in:
parent
44f9271dc2
commit
f167a71f1d
2 changed files with 0 additions and 5 deletions
|
@ -2605,9 +2605,6 @@ void JavaThread::java_suspend_self_with_safepoint_check() {
|
|||
set_thread_state_fence(state);
|
||||
} while (is_external_suspend());
|
||||
|
||||
// Since we are not using a regular thread-state transition helper here,
|
||||
// we must manually emit the instruction barrier after leaving a safe state.
|
||||
OrderAccess::cross_modify_fence();
|
||||
if (state != _thread_in_native) {
|
||||
SafepointMechanism::process_if_requested(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue