RFR: JDK-8217016: Shenandoah: Streamline generation of CAS barriers

Andrew Haley aph at redhat.com
Mon Jan 28 09:30:33 UTC 2019

On 1/26/19 12:23 AM, Roman Kennke wrote:
> Right. This update implements the same thing in aarch64:
> http://cr.openjdk.java.net/~rkennke/JDK-8217016/webrev.01/
> It causes no regressions in hotspot_gc_shenandoah (we have a few
> failures, but none of them are related to the patch and are pre-existing).
> Good?

I can't make any sense of the code. It looks like we're disabling the generation
of CAS instructions in ShenandoahBarrierSetAssembler::cmpxchg_oop.

Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the hotspot-gc-dev mailing list