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/26 11:18:00 UTC

[jira] [Updated] (STANBOL-1473) Avoid Double-checked Locking

     [ https://issues.apache.org/jira/browse/STANBOL-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Furkan KAMACI updated STANBOL-1473:
-----------------------------------
    Summary: Avoid Double-checked Locking  (was: Avoid Double-checked locking)

> 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
>            Priority: Major
>             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)