Furkan KAMACI created SOLR-13705:
------------------------------------

             Summary: Double-checked Locking Should Not be Used
                 Key: SOLR-13705
                 URL: https://issues.apache.org/jira/browse/SOLR-13705
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 8.2
            Reporter: Furkan KAMACI
             Fix For: 8.3


Using double-checked locking for the lazy initialization of any other type of 
primitive or mutable object risks a second thread using an uninitialized or 
partially initialized member while the first thread is still creating it, and 
crashing the program.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to