RFR: 8241081: Shenandoah: Do not modify update-watermark concurrently

Roman Kennke rkennke at redhat.com
Tue Mar 17 11:33:18 UTC 2020


>> Webrev:
>> http://cr.openjdk.java.net/~rkennke/JDK-8241081/webrev.02/
> 
> Looks good.
> 
> One tiny thing: can you please read _update_watermark into local field, assert that value and return
> the same one? Instead of doing effectively three memory accesses, which might disagree.

Ok like this?

http://cr.openjdk.java.net/~rkennke/JDK-8241081/webrev.03/




More information about the hotspot-gc-dev mailing list