vibur-dbcp icon indicating copy to clipboard operation
vibur-dbcp copied to clipboard

ConcurrentLinkedHashMap --> Caffeine when Java-8 based

Open ben-manes opened this issue 9 years ago • 1 comments

When transitioning to requiring Java 8, please upgrade to Caffeine. The performance should be relatively the same and the per-instance memory usage should be smaller.

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.

ben-manes avatar Apr 08 '15 05:04 ben-manes

Thanks. I'll definitely upgrade to Caffeine when migrating to Java 8.

simeonmalchev avatar Apr 08 '15 06:04 simeonmalchev