-
Enhancement
-
Resolution: Unresolved
-
P4
-
18
-
aarch64
-
generic
Thread A (Relocation):
copy();
release();
cas_forwarding_table();
cas_self_heal();
The membar guarantees that the contents of the forwarded object are ready after a forwarding entry is loaded. Since load_object_content(ref) depends on the result of load_forwarding_table(), load_acquire can be safely changed to a simple load.
Thread B (Remapping/Relocation):
ref = load_forwarding_table(); // acquire (current version) -> relaxed (our proposal)
load_object_content(ref);
Our experiment on heapothesys demonstrates >5% time reduction spent on concurrent mark/relocation on AArch64.
- relates to
-
JDK-8272138 ZGC: Adopt relaxed ordering for self-healing
-
- Resolved
-
- links to
-
Review openjdk/jdk/5298