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:48:59 UTC
[jira] [Commented] (OPENJPA-1646) DataCacheManager initialization
still isn't thread safe.
[ https://issues.apache.org/jira/browse/OPENJPA-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312128#comment-15312128 ]
Alexander Riss commented on OPENJPA-1646:
-----------------------------------------
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.
> --------------------------------------------------------
>
> Key: OPENJPA-1646
> URL: https://issues.apache.org/jira/browse/OPENJPA-1646
> Project: OpenJPA
> Issue Type: Bug
> Components: datacache
> Affects Versions: 1.2.2, 2.0.0
> Reporter: Rick Curtis
> 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)