< prev index next >

src/hotspot/share/runtime/perfMemory.cpp

Print this page

        

*** 154,164 **** _prologue->num_entries = 0; _prologue->used = 0; _prologue->overflow = 0; _prologue->mod_time_stamp = 0; ! OrderAccess::release_store(&_initialized, 1); } void PerfMemory::destroy() { if (!is_usable()) return; --- 154,164 ---- _prologue->num_entries = 0; _prologue->used = 0; _prologue->overflow = 0; _prologue->mod_time_stamp = 0; ! Atomic::release_store(&_initialized, 1); } void PerfMemory::destroy() { if (!is_usable()) return;
*** 267,273 **** return dest_file; } bool PerfMemory::is_initialized() { ! return OrderAccess::load_acquire(&_initialized) != 0; } --- 267,273 ---- return dest_file; } bool PerfMemory::is_initialized() { ! return Atomic::load_acquire(&_initialized) != 0; }
< prev index next >