RFR: 8291061: Improve thread safety of FileTime.toString and toInstant
Сергей Цыпанов
duke at openjdk.org
Thu Jul 28 15:00:00 UTC 2022
On Fri, 22 Jul 2022 07:34:19 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> We need to read fields `instant`/`valueAsString` once, as to dodge/resolve the data race on reading lazily-initialized fields.
Marked as reviewed by stsypanov at github.com (no known OpenJDK username).
-------------
PR: https://git.openjdk.org/jdk/pull/9608
More information about the nio-dev
mailing list