8302849: SurfaceManager might expose partially constructed object
Reviewed-by: serb
This commit is contained in:
parent
30b2ac4a28
commit
63ef214328
@ -89,7 +89,7 @@ public abstract class SurfaceManager {
|
||||
imgaccessor.setSurfaceManager(img, mgr);
|
||||
}
|
||||
|
||||
private ConcurrentHashMap<Object,Object> cacheMap;
|
||||
private volatile ConcurrentHashMap<Object,Object> cacheMap;
|
||||
|
||||
/**
|
||||
* Return an arbitrary cached object for an arbitrary cache key.
|
||||
|
Loading…
x
Reference in New Issue
Block a user