Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5780

Solr should benefit from Guava 16.0.1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.7
    • None
    • SolrCloud
    • None
    • All.

    Description

      Solr is using concurrentlinkedhashmap v1.2 and Guava 14.0.1 at the same time, according to concurrentlinkedhashmap author(s), that project main objective is to introduce ideas and then when proven they are ported to Guava.

      concurrentlinkedhashmap v1.2 was designed for Java 5 and v1.4 for Java 6+ which is the target version Solr 4.x requires, v1.4 had a great improvement in performance and memory impact compared to v1.2 which was ported to Guava (I strongly believe v16.0.1+ will do)

      Pertinent material:

      All that said, concurrentlinkedhashmap should be eliminated - OR keep up to date because it is the core of in-memory cache, same as Guava - and code using it should instead use MapMaker builder from Guava.

      Attachments

        1. SOLR-5780.patch
          0.6 kB
          Furkan Kamaci

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gmedina Guido Medina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: