RFR: 8319925: CSS.BackgroundImage incorrectly uses double-checked locking [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Dec 5 07:59:19 UTC 2023
> CSS.BackgroundImage.getImage uses double-checked locking but the loadedImage field isn't declared as volatile. Without the volatile modifier, double-checked locking implementation is broken.
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
Use image field for DCL
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16917/files
- new: https://git.openjdk.org/jdk/pull/16917/files/96d69bcf..af2b9303
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16917&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16917&range=00-01
Stats: 5 lines in 1 file changed: 0 ins; 2 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/16917.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16917/head:pull/16917
PR: https://git.openjdk.org/jdk/pull/16917
More information about the client-libs-dev
mailing list