From: Bryan T. <tho...@us...> - 2007-03-12 18:06:18
|
Update of /cvsroot/cweb/bigdata/src/java/com/bigdata/cache In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv21164/src/java/com/bigdata/cache Modified Files: WeakValueCache.java Log Message: Working on canonicalizing mappings to improve resource utilization. Index: WeakValueCache.java =================================================================== RCS file: /cvsroot/cweb/bigdata/src/java/com/bigdata/cache/WeakValueCache.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** WeakValueCache.java 8 Nov 2006 19:20:47 -0000 1.2 --- WeakValueCache.java 12 Mar 2007 18:06:12 -0000 1.3 *************** *** 272,276 **** _loadFactor = loadFactor; ! _cache = new HashMap<K,IWeakRefCacheEntry<K,T>>( initialCapacity, loadFactor ); --- 272,280 ---- _loadFactor = loadFactor; ! ! /* ! * @todo Consider changing to a concurrent hash map. Would this let us ! * remove some of the synchronization constraints? Probably not. ! */ _cache = new HashMap<K,IWeakRefCacheEntry<K,T>>( initialCapacity, loadFactor ); |