RFR (S) 8222766: Shenandoah: streamline post-LRB CAS barrier
Aleksey Shipilev
shade at redhat.com
Tue Apr 23 08:53:49 UTC 2019
RFE:
https://bugs.openjdk.java.net/browse/JDK-8222766
Webrev:
http://cr.openjdk.java.net/~shade/8222766/webrev.02/
Now that LRB switched Shenandoah to strong to-space invariant, we don't need the retry loop in CAS
barrier. Instead, we can "just" fixup the memory pointer before retrying. Added more comments to
explain how that works. Also, AArch64 snippet was synced up with x86_64 version, and switched to
"macro" cmpxchg, which gives us cmpxchg instructions when LSE is enabled.
Testing: Linux {x86_64, aarch64}: hotspot_gc_shenandoah, full jcstress
--
Thanks,
-Aleksey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20190423/221a109b/signature.asc>
More information about the hotspot-gc-dev
mailing list