You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2018/01/17 23:38:00 UTC
[jira] [Updated] (GEODE-4307) Remove static calls to
GemFireCacheImpl.getForPdx
[ https://issues.apache.org/jira/browse/GEODE-4307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Smith updated GEODE-4307:
-----------------------------
Component/s: serialization
> Remove static calls to GemFireCacheImpl.getForPdx
> -------------------------------------------------
>
> Key: GEODE-4307
> URL: https://issues.apache.org/jira/browse/GEODE-4307
> Project: Geode
> Issue Type: Sub-task
> Components: serialization
> Reporter: Dan Smith
> Assignee: Dan Smith
> Priority: Major
>
> GemFireCacheImpl actually has *two* static instance variables - on called instance and the other called pdxInstance.
> It's bad enough that we have one static instance variable, but this pdxVariable seems to be a hack to avoid race conditions related to shutting down the cache.
> If the places that need to call getForPdx can just use a cache that they already have access to, they won't need this hack.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)