--- a/src/hotspot/share/runtime/threadSMR.cpp Mon Nov 25 14:06:13 2019 +0100
+++ b/src/hotspot/share/runtime/threadSMR.cpp Mon Nov 25 12:22:13 2019 +0100
@@ -779,7 +779,7 @@
bool ThreadsSMRSupport::delete_notify() {
// Use load_acquire() in order to see any updates to _delete_notify
// earlier than when delete_lock is grabbed.
- return (OrderAccess::load_acquire(&_delete_notify) != 0);
+ return (Atomic::load_acquire(&_delete_notify) != 0);
}
// Safely free a ThreadsList after a Threads::add() or Threads::remove().