You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ian Boston (JIRA)" <ji...@apache.org> on 2013/02/25 04:40:12 UTC

[jira] [Created] (SLING-2744) AbderaActivator uses invalid double check pattern

Ian Boston created SLING-2744:
---------------------------------

             Summary: AbderaActivator uses invalid double check pattern
                 Key: SLING-2744
                 URL: https://issues.apache.org/jira/browse/SLING-2744
             Project: Sling
          Issue Type: Bug
            Reporter: Ian Boston


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira