jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1291783 - /jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/simple/NodeMap.java
Date Tue, 21 Feb 2012 13:47:18 GMT
Author: thomasm
Date: Tue Feb 21 13:47:17 2012
New Revision: 1291783

URL: http://svn.apache.org/viewvc?rev=1291783&view=rev
Log:
Switch to large child node lists when more then 2000 child nodes by default.

Modified:
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/simple/NodeMap.java

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/simple/NodeMap.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/simple/NodeMap.java?rev=1291783&r1=1291782&r2=1291783&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/simple/NodeMap.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/simple/NodeMap.java
Tue Feb 21 13:47:17 2012
@@ -31,7 +31,7 @@ public class NodeMap {
     public static final String HASH = "hash";
     public static final String NODE_VERSION = "nodeVersion";
 
-    private static final int DEFAULT_MAX_MEMORY_CHILDREN = Integer.MAX_VALUE;
+    private static final int DEFAULT_MAX_MEMORY_CHILDREN = 2000;
 
     protected boolean descendantCount;
 



Mime
View raw message