Github user aarondav commented on the pull request:

    https://github.com/apache/spark/pull/1272#issuecomment-47614369
  
    Out of curiosity, what motivates this change? I thought typically 
ConcurrentHashMap is used for more heavyweight concurrent data structures, 
while synchronizedMap() is used when concurrency is rare.
    
    Either way, our usage is not threadsafe, since we do things like
    
    ```scala
    if (map.contains(x)) map.get(x) else defaultValue
    ```


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