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

Rick Curtis commented on OPENJPA-2644:
--------------------------------------

Interesting. Unfortunately I'm rather far out of the OpenJPA loop these days so 
I might not be overly helpful... I see you are using your own DataCacheManager 
implementation. How are you configuring? Some code snippets might help.

I'd suggest looking at the normal DataCacheManager init path to see how that 
works. I vaguely recall init happening in a 
AbstractBrokerFactory.postCreationCallback method(or something like that). 

I'll note that I didn't add a synchronized block around the 
getDataCacheManagerInstance method because that is a very highly contended code 
path at runtime.

> 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: 2.4.0
>            Reporter: Alexander Riss
>            Assignee: Rick Curtis
>
> OPENJPA-1559 reduced the timing window but the problem still exists.



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

Reply via email to