Darrel Schneider created GEODE-6670:
---------------------------------------
Summary: GemFireCacheImpl.getCacheServers should not allocate a
new ArrayList everytime it is called
Key: GEODE-6670
URL: https://issues.apache.org/jira/browse/GEODE-6670
Project: Geode
Issue Type: Improvement
Components: core
Reporter: Darrel Schneider
The current implementation of GemFireCacheImpl.getCacheServers allocates a new
ArrayList each time it is called if the cache has any cache servers that are
not gateway receivers.
We should instead maintain a list of all the non-gateway cache servers (like we
currently do with the "allCacheServers" list).
I saw the method called multiple times per pr put on a cache server.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)