In light of Item 30 of Effective Java, ever thought of replacing the
internal home-grown implementation of LRUMemoryCache with something like the
java.util.LinkedHashMap provided in JDK1.4+, which, as documented in the
javadoc:

        "This kind of map is well-suited to building LRU caches"

I imagine (ie without proof) the JDK implementation would give the benefit
of a standard, expert implementation with better performance and correctness
(synchronization).

Hanson

Reply via email to