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

ASF subversion and git services commented on GEODE-3963:
--------------------------------------------------------

Commit 650ed4e6a785bae94dee06b25fa4d6d82f6dd2ae in geode's branch 
refs/heads/develop from [~dschneider]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=650ed4e ]

GEODE-3963: make DM.getCache thread safe

* made cache variables volatile for thread safety
* Added getExistingCache to DM which will throw an exception if cache
  does not exist or is closed.


> DM.getCache is not thread safe
> ------------------------------
>
>                 Key: GEODE-3963
>                 URL: https://issues.apache.org/jira/browse/GEODE-3963
>             Project: Geode
>          Issue Type: Bug
>          Components: core
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>
> The new DM.getCache method is not thread safe.
> The cache is stored in a non-volatile instance variable so reads from other 
> threads may not see a write.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to