Closed hakanai closed 6 years ago
In v1.4, I embedded Doug's backport of the JDK8 ConcurrentHashMap
which has faster performance. However the library can be rebuilt without it easily enough to use the JDK's, as Unsafe is not used otherwise.
I'm hesitant to do anything and instead prefer users migrate to Caffeine.
Yeah. Certainly if I find which library is using this jar, I will go to them and ask them to switch anyway.
Worst case you can make a custom jar and replace the dependency in your build. Its trivial enough that the Redhat guys did that in #44. But it shouldn't be a problem until JDK10.
JDK11 will still have Unsafe, so probably won't be gone until JDK17 (3 yr LTS schedule).
concurrentlinkedhashmap-lru shows up in a jdeps report of classes that will stop working on Java 9: