RFR: 8234010: ZGC: Change ZResurrection to use Atomic::load/store
stefan.karlsson at oracle.com
Thu Nov 21 13:24:11 UTC 2019
Please review this patch to change ZResurrection to use Atomic::load and
Previously, ZResurrection::is_blocked() and ZResurrection::unblock()
used loadload and storestore barriers to synchronize between the GC and
mutator load barriers.
JDK-8230661 changed so that we always perform a handshake before the
After that change we can rely on the handshake to perform the necessary
synchronization, and we can change the implementation to use
Atomic::load and Atomic::store.
Tested with tier1-7
More information about the hotspot-gc-dev