Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2744

AbderaActivator uses invalid double check pattern

    XMLWordPrintableJSON

Details

    Description

      There is a if ( x == null); syncronized(lock) {; if (x == null ) check which violates Java memory model.
      see: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            ianeboston Ian Boston
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: