src/hotspot/share/utilities/singleWriterSynchronizer.cpp
changeset 59247 56bf71d64d51
parent 51511 eb8d5aeabab3
child 59249 29b0d0b61615
--- a/src/hotspot/share/utilities/singleWriterSynchronizer.cpp	Mon Nov 25 14:06:13 2019 +0100
+++ b/src/hotspot/share/utilities/singleWriterSynchronizer.cpp	Mon Nov 25 12:22:13 2019 +0100
@@ -85,7 +85,7 @@
   // to complete, e.g. for the value of old_ptr to catch up with old.
   // Loop because there could be pending wakeups unrelated to this
   // synchronize request.
-  while (old != OrderAccess::load_acquire(old_ptr)) {
+  while (old != Atomic::load_acquire(old_ptr)) {
     _wakeup.wait();
   }
   // (5) Drain any pending wakeups. A critical section exit may have