You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Kay Kay <ka...@gmail.com> on 2008/12/14 06:34:16 UTC

SolrIndexWriter - finalize method ??

Why is there a finalize method in SolrIndexWriter ? Given that there is 
no guarantee that they are invoked - it might be unnecessary to have 
them in the first place.

Also - when the gc does decide to run it , in case ,  there is a 
possibility that the garbage collection of an object might be delayed 
because of the finalize() method . Any idea - why - finalize() is 
present here ?