Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6747

Replace ConcurrentLinkedHashMap by Caffeine

    XMLWordPrintableJSON

Details

    Description

      Similar to OFBIZ-3779, please consider upgrading the library used by UtilCache (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. 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. It also provides a near optimal eviction policy.

      Attachments

        1. OFBIZ-6747.patch
          5 kB
          Jacques Le Roux

        Activity

          People

            jleroux Jacques Le Roux
            ben.manes Ben Manes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: