SurfaceManager might expose partially constructed object

XMLWordPrintable

    • b11

        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

              Assignee:
              Per-Ake Minborg
              Reporter:
              Per-Ake Minborg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: