Duplicate :
|
|
Relates :
|
./share/vm/runtime/perfMemory.cpp: OrderAccess::release_store(&_initialized, 1); Incorrect usage: the initialization logic is broken. We write _initialized last with release_store but there is no load_acquire to match with it. Worse the only code that checks _initialized is PerfMemory:;destroy. The actual PerfMemory functions either don't check initialization or use an assert that checks a different field!
|