RFR: 8264032: Improve thread safety of Runtime.version()
Andrey Turbanov
github.com+741251+turbanoff at openjdk.java.net
Tue Mar 23 12:25:53 UTC 2021
Avoid double-read non volatile static field
-------------
Commit messages:
- [PATCH] Thread-safe initialization of Runtime.version
Changes: https://git.openjdk.java.net/jdk/pull/2691/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2691&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8264032
Stats: 6 lines in 1 file changed: 2 ins; 0 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/2691.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2691/head:pull/2691
PR: https://git.openjdk.java.net/jdk/pull/2691
More information about the core-libs-dev
mailing list