< prev index next >

src/hotspot/share/runtime/perfMemory.cpp

Print this page

        

@@ -154,11 +154,11 @@
   _prologue->num_entries = 0;
   _prologue->used = 0;
   _prologue->overflow = 0;
   _prologue->mod_time_stamp = 0;
 
-  OrderAccess::release_store(&_initialized, 1);
+  Atomic::release_store(&_initialized, 1);
 }
 
 void PerfMemory::destroy() {
 
   if (!is_usable()) return;

@@ -267,7 +267,7 @@
 
   return dest_file;
 }
 
 bool PerfMemory::is_initialized() {
-  return OrderAccess::load_acquire(&_initialized) != 0;
+  return Atomic::load_acquire(&_initialized) != 0;
 }
< prev index next >