You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Furkan KAMACI (JIRA)" <ji...@apache.org> on 2018/11/24 19:50:00 UTC
[jira] [Created] (STANBOL-1473) Avoid Double-checked locking
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)