RFR (sh/8): Backport: JDK-8222766: Shenandoah: streamline post-LRB CAS barrier (x86)

Aleksey Shipilev shade at redhat.com
Mon Feb 24 10:38:00 UTC 2020


On 2/24/20 11:35 AM, Roman Kennke wrote:
> And thus, when running with passive mode, it would generate the CAS IR
> normally and return (omitting the trailing cmove). Then in LIRAssembler,
> it would skip generating the Shenandoah CAS and emit the normal CAS --
> without the trailing cmove. It's all quite a mess and I'm very happy we
> have gotten rid of it in 11+.

Ugh.

> Notice that in 8, we don't actually need the exchange path(s) - they
> don't exist/are never used. I left them in for the sake of keeping the
> code equivalent with 11.

Yes, that makes sense.

-- 
Thanks,
-Aleksey



More information about the shenandoah-dev mailing list