You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by yo...@apache.org on 2010/10/14 23:03:26 UTC
svn commit: r1022710 -
/lucene/dev/trunk/solr/src/java/org/apache/solr/core/CoreContainer.java
Author: yonik
Date: Thu Oct 14 21:03:25 2010
New Revision: 1022710
URL: http://svn.apache.org/viewvc?rev=1022710&view=rev
Log:
tests: add instance id to CoreContainer
Modified:
lucene/dev/trunk/solr/src/java/org/apache/solr/core/CoreContainer.java
Modified: lucene/dev/trunk/solr/src/java/org/apache/solr/core/CoreContainer.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/src/java/org/apache/solr/core/CoreContainer.java?rev=1022710&r1=1022709&r2=1022710&view=diff
==============================================================================
--- lucene/dev/trunk/solr/src/java/org/apache/solr/core/CoreContainer.java (original)
+++ lucene/dev/trunk/solr/src/java/org/apache/solr/core/CoreContainer.java Thu Oct 14 21:03:25 2010
@@ -88,6 +88,7 @@ public class CoreContainer
public CoreContainer() {
solrHome = SolrResourceLoader.locateSolrHome();
+ log.info("New CoreContainer: solrHome=" + solrHome + " instance="+System.identityHashCode(this));
}
private void initZooKeeper(String zkHost, int zkClientTimeout) {
@@ -479,7 +480,7 @@ public class CoreContainer
protected void finalize() throws Throwable {
try {
if(!isShutDown){
- log.error("CoreContainer was not shutdown prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!!");
+ log.error("CoreContainer was not shutdown prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!! instance=" + System.identityHashCode(this));
shutdown();
}
} finally {