RFR: 8166811: Missing memory fences between memory allocation and refinement

Yangfei (Felix) felix.yang at huawei.com
Fri Jan 15 09:11:03 UTC 2021


Hi,

> -----Original Message-----
> From: Andrew Haley [mailto:aph at redhat.com]
> Sent: Friday, January 15, 2021 12:16 AM
> To: Yangfei (Felix) <felix.yang at huawei.com>; jdk8u-dev at openjdk.java.net
> Subject: Re: RFR: 8166811: Missing memory fences between memory
> allocation and refinement
> 
> On 1/14/21 11:40 AM, Yangfei (Felix) wrote:
> > Thanks for the reply.  I agree it's not a trivial change.
> > This is not biting me for now when using JDK 8.  And I guess it would be
> hard to trigger.
> > I can leave it aside if it doesn't worth the risk for JDK 8.
> 
> I'm not sure, to be honest. It feels like something we should have, and I hate
> the idea of missing fences, it's just as shame that this patch wasn't just a few
> missing fences, but a big reorganization. We know that changes in one part of
> the GC affect other parts, and it might well be that the JDK 9 patch breaks
> something else.
> 
> Maybe we could get some advice from someone familiar with the GC.

Yes, comments from GC experts would surely be appreciated here. 
Could we have some GC folks to take a look please? 

Thanks,
Felix


More information about the jdk8u-dev mailing list