[Schmitzm-commits] r2029 - trunk/schmitzm-core/src/main/java/de/schmitzm/regex

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Sun May 27 16:48:13 CEST 2012


Author: alfonx
Date: 2012-05-27 16:48:13 +0200 (Sun, 27 May 2012)
New Revision: 2029

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java
Log:


Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java	2012-05-27 14:19:53 UTC (rev 2028)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/regex/RegexCache.java	2012-05-27 14:48:13 UTC (rev 2029)
@@ -45,7 +45,7 @@
 	private static final int CACHE_VALUES_TO_RESULT_MIN_VALUE_LENGTH = 10;
 
 	private final ConcurrentLRUCache<String, ThreadLocal<Matcher>> matchersCachedThreadLocalPerRegex = new ConcurrentLRUCache<String, ThreadLocal<Matcher>>(
-			200000, 150000);
+			25000, 15000);
 
 	private static RegexCache singletonInstance;
 
@@ -57,7 +57,7 @@
 	}
 
 	private final ConcurrentLRUCache<String, MyMatchResult> resultsCache = new ConcurrentLRUCache<String, MyMatchResult>(
-			150000, 100000);
+			100000, 80000);
 
 	private RegexCache() {
 	}



More information about the Schmitzm-commits mailing list