./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!
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!
- duplicates
-
JDK-8151815 Could not parse core image with JSnap.
-
- Resolved
-
- relates to
-
JDK-8158854 Ensure release_store is paired with load_acquire in lock-free code
-
- Resolved
-