mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -231,7 +231,6 @@ class ThreadBlockInVM : public ThreadStateTransition {
|
|||
}
|
||||
~ThreadBlockInVM() {
|
||||
trans(_thread_blocked, _thread_in_vm);
|
||||
OrderAccess::cross_modify_fence();
|
||||
// We don't need to clear_walkable because it will happen automagically when we return to java
|
||||
}
|
||||
};
|
||||
|
@ -281,7 +280,6 @@ class ThreadBlockInVMWithDeadlockCheck : public ThreadStateTransition {
|
|||
}
|
||||
|
||||
_thread->set_thread_state(_thread_in_vm);
|
||||
OrderAccess::cross_modify_fence();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue