lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Manes (JIRA)" <>
Subject [jira] [Created] (SOLR-7355) Java 8: ConcurrentLinkedHashMap -> Caffeine
Date Tue, 07 Apr 2015 09:26:13 GMT
Ben Manes created SOLR-7355:

             Summary: Java 8: ConcurrentLinkedHashMap -> Caffeine
                 Key: SOLR-7355
             Project: Solr
          Issue Type: Task
            Reporter: Ben Manes
            Priority: Minor

When Solr transitions to requiring Java 8, please upgrade to Caffeine. The performance should
be relatively the same. The per-instance memory usage should be smaller and Solr may decide
to opt-in to use some of the additional features. The only drawback is that the jar size is
larger due to code generation, though that may be trimmed over time and usually is not a concern
for server-side applications.

ConcurrentLinkedHashMap changes will continue to be minimal, even more so now, and driven
by requests from Java 6 users unable to upgrade. Caffeine is ideally the upgrade path for
Guava cache users too, which due to Android cannot be significantly modified.


This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message