jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1421308 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
Date Thu, 13 Dec 2012 14:21:50 GMT
Author: jukka
Date: Thu Dec 13 14:21:49 2012
New Revision: 1421308

URL: http://svn.apache.org/viewvc?rev=1421308&view=rev
Log:
OAK-506: Avoid extra MK.nodeExists() calls when already cached

As a workaround, increase the number of child node names to retrieve initially.

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java?rev=1421308&r1=1421307&r2=1421308&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeState.java
Thu Dec 13 14:21:49 2012
@@ -63,7 +63,7 @@ public final class KernelNodeState exten
     /**
      * Maximum number of child nodes kept in memory.
      */
-    static final int MAX_CHILD_NODE_NAMES = 1000;
+    static final int MAX_CHILD_NODE_NAMES = 10000;
 
     private final MicroKernel kernel;
 



Mime
View raw message