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

List:       openjdk-nio-dev
Subject:    Integrated: 8291061: Improve thread safety of FileTime.toString and toInstant
From:       Andrey Turbanov <aturbanov () openjdk ! org>
Date:       2022-08-05 6:58:58
Message-ID: gHHPyQMtx7Xhc-G31_mnReryCdOAGslbGadRPT3fiDw=.8e498725-3f4b-4a40-9f03-a676d9ab3f11 () github ! com
[Download RAW message or body]

On Fri, 22 Jul 2022 07:34:19 GMT, Andrey Turbanov <aturbanov@openjdk.org> wrote:

> We need to read fields `instant`/`valueAsString` once, as to dodge/resolve the data \
> race on reading lazily-initialized fields.

This pull request has now been integrated.

Changeset: 6e7cd762
Author:    Andrey Turbanov <aturbanov@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6e7cd7627d7e5c885b34afb1cb9458221a279e08
                
Stats:     6 lines in 1 file changed: 5 ins; 0 del; 1 mod

8291061: Improve thread safety of FileTime.toString and toInstant

Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/9608


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

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