jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Smuts <aasm...@wisc.edu>
Subject RE: outstanding issues? lru
Date Wed, 14 Apr 2004 23:22:27 GMT
http://www.mail-archive.com/commons-dev%40jakarta.apache.org/msg02555.ht
ml

Here's something I wrote on the commons LRUMap over two years ago.  Are
things better?

> The memory leak in memory cache happens when the linked list becomes
> inconsistent with the map. EHCache tests to expose this suggest the
> problem
> is with removeAll, but I've seen it with just get/put/remove. The LRU
> memory
> store implementation from EHCache uses an java.util.LinkedHashMap, or
if
> it's not available, a org.apache.commons.collections.map.LRUMap,
thereby
> dramatically reducing the complexity of the code, and eliminating
> opportunities for the linked list and map to get out of sync.
mands, e-mail: turbine-jcs-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-dev-help@jakarta.apache.org


Mime
View raw message