Github user danielsun1106 commented on the pull request:

    
https://github.com/apache/groovy/commit/29727ea0c0318304ded181aebfa8cce661d34c56#commitcomment-26201603
  
    In src/main/org/codehaus/groovy/runtime/memoize/CommonCache.java:
    In src/main/org/codehaus/groovy/runtime/memoize/CommonCache.java on line 33:
    Jochen, we have two version(similar to StringBuffer and StringBuilder): 
thread-safe version(ConcurrentCommonCache) and not thread-safe 
version(CommonCache), the latter is for 
https://github.com/apache/groovy/blob/master/subprojects/groovy-json/src/main/java/groovy/json/internal/CharBuf.java#L32
    Note: the SimpleCache is based on CommonCache


---

Reply via email to