You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dick Cavender (Jira)" <ji...@apache.org> on 2019/09/26 18:06:05 UTC

[jira] [Closed] (GEODE-6673) DistributedCacheOperation._distribute has some unneeded HashSet allocations

     [ https://issues.apache.org/jira/browse/GEODE-6673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dick Cavender closed GEODE-6673.
--------------------------------

> DistributedCacheOperation._distribute has some unneeded HashSet allocations
> ---------------------------------------------------------------------------
>
>                 Key: GEODE-6673
>                 URL: https://issues.apache.org/jira/browse/GEODE-6673
>             Project: Geode
>          Issue Type: Improvement
>          Components: core
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>            Priority: Major
>              Labels: performance
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> DistributedCacheOperation._distribute creates some new HashSet instances that it does not need to. It can easily determine that the set is empty in which case it can use Collections.emptySet(). The sets in question are: 
> cachelessNodesWithNoCacheServer and adjunctRecipientsWithNoCacheServer



--
This message was sent by Atlassian Jira
(v8.3.4#803005)