RFR: 8251397: Add release fence to ClassValueMap constructor [v2]

Severin Gehwolf sgehwolf at openjdk.java.net
Mon Sep 14 13:11:40 UTC 2020


On Mon, 14 Sep 2020 12:59:00 GMT, Galder Zamarreño <github.com+50187+galderz at openjdk.org> wrote:

>> Note that I've opened [SKARA-633](https://bugs.openjdk.java.net/browse/SKARA-633) for pre-population of the commit
>> message with an appropriate summary.
>
> Add release fence to ClassValueMap constructor.
> 
> * Release fence guarantees that cacheArray field will published
>   with a non-null value.
> * Without this fix, CacheValueMap.cacheArray can sometimes be
>    seen as null.

@galderz Hmm, sorry. Apparently it's the PR title which makes up the synopsis. Probably has to be changed in the UI
here. I didn't know that :(

-------------

PR: https://git.openjdk.java.net/jdk/pull/94


More information about the core-libs-dev mailing list