--- a/src/hotspot/share/utilities/globalCounter.cpp Mon Nov 25 14:06:13 2019 +0100
+++ b/src/hotspot/share/utilities/globalCounter.cpp Mon Nov 25 12:22:13 2019 +0100
@@ -41,7 +41,7 @@
SpinYield yield;
// Loops on this thread until it has exited the critical read section.
while(true) {
- uintx cnt = OrderAccess::load_acquire(thread->get_rcu_counter());
+ uintx cnt = Atomic::load_acquire(thread->get_rcu_counter());
// This checks if the thread's counter is active. And if so is the counter
// for a pre-existing reader (belongs to this grace period). A pre-existing
// reader will have a lower counter than the global counter version for this