RFR: JDK-8221766: Load-reference barriers for Shenandoah

Roman Kennke rkennke at redhat.com
Sun Apr 7 18:18:03 UTC 2019


On 4/2/19 10:12 PM, Roman Kennke wrote:
> > - No more need for object equals barriers.
> 
> I'm pleased about that. I really hated the AArch64 Shenandoah CAS!

I'm sorry to disappoint you, but the CAS barrier is still needed. The
memory location may still legally hold a from-space reference, and
comparing that to a to-space reference needs some special care. And
yes, ZGC has a similar problem as far as I know.

Roman





More information about the hotspot-gc-dev mailing list