vibur / vibur-dbcp

Vibur DBCP - concurrent and dynamic JDBC connection pool
http://www.vibur.org
Apache License 2.0
96 stars 11 forks source link

ConcurrentLinkedHashMap --> Caffeine when Java-8 based #3

Open ben-manes opened 9 years ago

ben-manes commented 9 years ago

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.

simeonmalchev commented 9 years ago

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