RFR: 8264032: Improve thread safety of Runtime.version()

Aleksey Shipilev shade at openjdk.java.net
Tue Mar 23 12:25:53 UTC 2021


On Tue, 23 Feb 2021 13:23:44 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

> Avoid double-read non volatile static field

This looks fine to me.

I created the bug for this: https://bugs.openjdk.java.net/browse/JDK-8264032 -- please change the PR synopsis to "8264032: Improve thread safety of Runtime.version()".

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

Marked as reviewed by shade (Reviewer).

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


More information about the core-libs-dev mailing list