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

Andrew Haley aph at redhat.com
Thu Jan 14 16:16:05 UTC 2021

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.

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

More information about the jdk8u-dev mailing list