-
Bug
-
Resolution: Fixed
-
P3
-
17
-
b11
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8304984 | 17.0.8 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
SurfaceManager is using a lazily initialized cacheMap that is initialized using a double-checked locking mechanism. Generally, objects initialized using such constructs need to be declared volatile.
See https://en.wikipedia.org/wiki/Double-checked_locking#Usage_in_Java
See https://en.wikipedia.org/wiki/Double-checked_locking#Usage_in_Java
- backported by
-
JDK-8304984 SurfaceManager might expose partially constructed object
-
- Resolved
-