You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2012/03/02 14:31:29 UTC

svn commit: r1296199 - /lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java

Author: dweiss
Date: Fri Mar  2 13:31:29 2012
New Revision: 1296199

URL: http://svn.apache.org/viewvc?rev=1296199&view=rev
Log:
LUCENE-3840: Disabled thread preallocation until somebody fixes this issue.

Modified:
    lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java

Modified: lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java?rev=1296199&r1=1296198&r2=1296199&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java (original)
+++ lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java Fri Mar  2 13:31:29 2012
@@ -1433,7 +1433,8 @@ public abstract class LuceneTestCase ext
         ex = new ThreadPoolExecutor(threads, threads, 0L, TimeUnit.MILLISECONDS,
             new LinkedBlockingQueue<Runnable>(),
             new NamedThreadFactory("LuceneTestCase"));
-        ex.prestartAllCoreThreads();
+        // uncomment to intensify LUCENE-3840
+        // ex.prestartAllCoreThreads();
       }
       if (ex != null) {
        if (VERBOSE) {