Raebae1979 / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

ConcurrentLinkedHashMap -> Caffeine when Java-8 based #678

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When transitioning to requiring Java 8, please upgrade to Caffeine [1]. The 
performance should be relatively the same and the per-instance memory usage 
should be smaller.

ConcurrentLinkedHashMap [2] 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.

[1] https://github.com/ben-manes/caffeine
[2] https://code.google.com/p/concurrentlinkedhashmap

Original issue reported on code.google.com by Ben.Manes@gmail.com on 11 Apr 2015 at 1:46