Furkan KAMACI created STANBOL-1473: -------------------------------------- Summary: Avoid Double-checked locking Key: STANBOL-1473 URL: https://issues.apache.org/jira/browse/STANBOL-1473 Project: Stanbol Issue Type: Bug Components: Build Reporter: Furkan KAMACI Fix For: 1.0.0, 0.12.1, 2.0.0
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 (v7.6.3#76005)