RFR: 8309688: Data race on java.io.ClassCache$CacheRef.strongReferent [v4]
Man Cao
manc at openjdk.org
Thu Jun 15 00:05:32 UTC 2023
> Hi all,
>
> Could anyone review this small fix for a data race in java.io.ClassCache$CacheRef? This fix makes the code safer by making the code data-race-free.
Man Cao has updated the pull request incrementally with one additional commit since the last revision:
Removed volatile and comment about the benign race
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14386/files
- new: https://git.openjdk.org/jdk/pull/14386/files/6270b98e..e9b2e0f2
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14386&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14386&range=02-03
Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/14386.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14386/head:pull/14386
PR: https://git.openjdk.org/jdk/pull/14386
More information about the core-libs-dev
mailing list