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

    https://github.com/apache/geode/pull/712#discussion_r133843558
  
    --- Diff: 
extensions/geode-modules/src/main/java/org/apache/geode/modules/session/catalina/DeltaSession.java
 ---
    @@ -586,6 +610,20 @@ public int getSizeInBytes() {
         return serializedAttributes;
       }
     
    +  protected ConcurrentMap getAttributes() {
    +    try {
    +      Field field = getAttributesFieldObject();
    +      field.setAccessible(true);
    +      Map oldMap = (Map) field.get(this);
    +      ConcurrentMap newMap = new ConcurrentHashMap();
    --- End diff --
    
    I think you are correct, I believe we wrapped it incase somehow it was not 
a concurrent hash map but I guess that was being overly cautious.  I'll change 
them all to map


---
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