You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Alexander Riss (JIRA)" <ji...@apache.org> on 2016/06/02 10:51:59 UTC

[jira] [Commented] (OPENJPA-2644) DataCacheManager initialization still isn't thread safe continued.

    [ https://issues.apache.org/jira/browse/OPENJPA-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312130#comment-15312130 ] 

Alexander Riss commented on OPENJPA-2644:
-----------------------------------------

there still is an issue with the initialization when done concurrently:
The dataCacheManager is constructed AND published here:
https://github.com/apache/openjpa/blob/ee299cc0bd0942ef8da2156c36e342a443bb46a0/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java#L685
this means that it can then be read in line 683 before initialize is called

> DataCacheManager initialization still isn't thread safe continued.
> ------------------------------------------------------------------
>
>                 Key: OPENJPA-2644
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2644
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: datacache
>    Affects Versions: 1.2.2, 2.0.0
>            Reporter: Alexander Riss
>            Assignee: Rick Curtis
>             Fix For: 2.1.0
>
>
> OPENJPA-1559 reduced the timing window but the problem still exists.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)