CVSROOT: /cvs/gnome
Module name: beagle
Changes by: joeshaw 06/12/06 00:23:45
Modified files:
beagled : LuceneCommon.cs QueryResult.cs
Log message:
Fix a couple of leaks that heap-shot helped find:
* We were leaking IndexReader instances from our refcounted GetReader()
and ReleaseReader() pairs. This was causing us pain, particularly with
live queries.
* We leaked QueryWorker instances from the QueryResult by never removing
them from our per_worker_started_time hash table.
* Not really a leak, but change the QueryWorker's uri_hash to store the
URI as the value of the hash rather than the Hit, and remove Hit-resolving
methods. These were causing us to keep around references on Hit objects
that were never used.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=beagle&who=joeshaw&date=explicit&mindate=2006-12-06%2000:22&maxdate=2006-12-06%2000:24
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list