RFR: 8319925: CSS.BackgroundImage incorrectly uses double-checked locking [v3]
Alexey Ivanov
aivanov at openjdk.org
Thu Dec 7 11:26:39 UTC 2023
On Wed, 6 Dec 2023 11:47:03 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> 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:
>
> Set loadedImage after image load
Marked as reviewed by aivanov (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/16917#pullrequestreview-1769939544
More information about the client-libs-dev
mailing list