RFR: 8232782: Shenandoah: streamline post-LRB CAS barrier (aarch64)

Andrew Haley aph at redhat.com
Sat Jun 27 08:35:04 UTC 2020


On 26/06/2020 22:00, Roman Kennke wrote:
> I believe if you do what Andrew Haley suggested an use
> MacroAssembler::cmpxchg() it will do a CAS if supported by the
> platform, or ldxr/stxr if not. So either we simply use that, or maybe
> come up with two different implementations and select one or the other
> like MacroAssembler::cmpxchg() does? Not sure if there would be any
> advantage in the latter.

Please don't.

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



More information about the hotspot-gc-dev mailing list