--- a/src/hotspot/share/utilities/hashtable.inline.hpp Mon Nov 25 14:06:13 2019 +0100
+++ b/src/hotspot/share/utilities/hashtable.inline.hpp Mon Nov 25 12:22:13 2019 +0100
@@ -88,7 +88,7 @@
// SystemDictionary are read without locks. The new entry must be
// complete before other threads can be allowed to see it
// via a store to _buckets[index].
- OrderAccess::release_store(&_entry, l);
+ Atomic::release_store(&_entry, l);
}
@@ -97,7 +97,7 @@
// SystemDictionary are read without locks. The new entry must be
// complete before other threads can be allowed to see it
// via a store to _buckets[index].
- return OrderAccess::load_acquire(&_entry);
+ return Atomic::load_acquire(&_entry);
}