camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-8602) Java 8: ConcurrentLinkedHashMap -> Caffeine
Date Sun, 12 Apr 2015 07:04:12 GMT


Claus Ibsen commented on CAMEL-8602:

Thanks for letting us know. We will follow your advice when we drop support for JDK 1.7

> Java 8: ConcurrentLinkedHashMap -> Caffeine
> -------------------------------------------
>                 Key: CAMEL-8602
>                 URL:
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core
>            Reporter: Ben Manes
>            Priority: Minor
>             Fix For: 3.0.0, Future
> When Camel 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 Camel 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.
> Caffeine:
> Benchmarks:
> ConcurrentLinkedHashMap:

This message was sent by Atlassian JIRA

View raw message