lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r597382 - /lucene/java/trunk/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java
Date Thu, 22 Nov 2007 11:32:46 GMT
Author: mikemccand
Date: Thu Nov 22 03:32:35 2007
New Revision: 597382

URL: http://svn.apache.org/viewvc?rev=597382&view=rev
Log:
LUCENE-887: setDaemon(true) on merge threads so JVM will exit if only they remain

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java?rev=597382&r1=597381&r2=597382&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java Thu Nov
22 03:32:35 2007
@@ -180,6 +180,7 @@
             mergeThreads.add(merger);
             message("    launch new thread [" + merger.getName() + "]");
             merger.setThreadPriority(mergeThreadPriority);
+            merger.setDaemon(true);
             merger.start();
             continue;
           } else



Mime
View raw message