[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] RFR: 8272756: Remove unnecessary explicit initialization of volatile variables 
From:       Alexey Ivanov <aivanov () openjdk ! java ! net>
Date:       2021-08-23 18:34:24
Message-ID: xVBLj997Laf-N2IwD8dfI2bzfHvtV1P2ji63kXcc10g=.7127c961-2ddb-49e7-a565-4c3351303952 () github ! com
[Download RAW message or body]

On Mon, 23 Aug 2021 17:57:52 GMT, Sergey Bylokhov <serb@openjdk.org> wrote:

> > Maybe it's kind of a protection from a race. Yet it's possible either way: \
> > another thread could see `essentialTags == null` before this one initialises the \
> > field.
> 
> I think we can drop it completely.

Agree.

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic