RFR: 8251397: NPE on ClassValue.ClassValueMap.cacheArray [v2]

Galder Zamarreño github.com+50187+galderz at openjdk.java.net
Mon Sep 14 14:36:04 UTC 2020


On Mon, 14 Sep 2020 13:09:11 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> 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 title changed...

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

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


More information about the core-libs-dev mailing list