jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r227043 - /incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/LRUItemStateCache.java
Date Tue, 02 Aug 2005 16:58:07 GMT
Author: stefan
Date: Tue Aug  2 09:58:05 2005
New Revision: 227043

URL: http://svn.apache.org/viewcvs?rev=227043&view=rev
Log:
core.state: 
replaced abstract ItemStateCache with interface of same name and added ItemStateMap, ItemStateReferenceMap,
ItemStateReferenceCache & LRUItemStateCache which provide cleaner semantics and improved
memory usage behaviour

Modified:
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/LRUItemStateCache.java

Modified: incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/LRUItemStateCache.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/LRUItemStateCache.java?rev=227043&r1=227042&r2=227043&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/LRUItemStateCache.java
(original)
+++ incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/LRUItemStateCache.java
Tue Aug  2 09:58:05 2005
@@ -33,7 +33,7 @@
     private static Logger log = Logger.getLogger(LRUItemStateCache.class);
 
     /** default maximum size of this cache */
-    public static final int DEFAULT_MAX_SIZE = 5000;
+    public static final int DEFAULT_MAX_SIZE = 1000;
 
     /**
      * A cache for <code>ItemState</code> instances



Mime
View raw message