You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ben Manes (JIRA)" <ji...@apache.org> on 2015/11/29 07:48:10 UTC

[jira] [Created] (OFBIZ-6747) Upgrade ConcurrentLinkedHashMap

Ben Manes created OFBIZ-6747:
--------------------------------

             Summary: Upgrade ConcurrentLinkedHashMap
                 Key: OFBIZ-6747
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6747
             Project: OFBiz
          Issue Type: Task
            Reporter: Ben Manes
            Priority: Minor


Similar to OFBIZ-3779, please consider upgrading the library used by [UtilCache|https://github.com/apache/ofbiz/blob/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java] (v1.2). The current version is 1.4.2 and is the last major release planned.

The preferable alternative would be to upgrade to [Caffeine|https://github.com/ben-manes/caffeine]. This is a Java 8 rewrite based on what I've learned since developing CLHM and Guava's cache. As expected it provides [superior performance|https://github.com/ben-manes/caffeine/wiki/Benchmarks]. It also provides a [near optimal|https://github.com/ben-manes/caffeine/wiki/Efficiency] eviction policy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)