Github user metatype commented on a diff in the pull request:

    https://github.com/apache/incubator-geode/pull/299#discussion_r90026482
  
    --- Diff: 
geode-core/src/main/java/org/apache/geode/internal/statistics/StatisticsMonitor.java
 ---
    @@ -114,14 +100,14 @@ protected void monitor(long millisTimeStamp, 
List<ResourceInstance> resourceInst
     
       private final void monitorStatisticIds(long millisTimeStamp,
           List<ResourceInstance> resourceInstances) {
    -    List<StatisticId> statisticIdsToMonitor = statisticIds;
    +    ConcurrentHashSet<StatisticId> statisticIdsToMonitor = statisticIds;
    --- End diff --
    
    I don't think this copy is needed since `statisticIdsToMonitor` is never 
updated after initialization.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to