< prev index next >

src/hotspot/share/jfr/utilities/jfrHashtable.hpp

Print this page

        

@@ -56,13 +56,13 @@
  private:
   typedef JfrBasicHashtableEntry<T> TableEntry;
   TableEntry* _entry;
 
   TableEntry* get_entry() const {
-    return (TableEntry*)OrderAccess::load_acquire(&_entry);
+    return (TableEntry*)Atomic::load_acquire(&_entry);
   }
-  void set_entry(TableEntry* entry) { OrderAccess::release_store(&_entry, entry);}
+  void set_entry(TableEntry* entry) { Atomic::release_store(&_entry, entry);}
   TableEntry** entry_addr() { return &_entry; }
 };
 
 template <typename T>
 class JfrBasicHashtable : public CHeapObj<mtTracing> {
< prev index next >