[ROOT] TCollections' garbage collection

From: Axel Naumann (axel@fnal.gov)
Date: Thu Mar 06 2003 - 01:07:05 MET


Hi,

when calling e.g. TMap::DeleteAll(), all keys and values are added to
fgGarbageCollection but not deleted. It seems to me that the entries in
fgGarbageCollection are _never_ deleted (well, only when the process
exists). Does one have to call TCollection::EmptyGarbageCollection() by
hand from time to time? What was the idea behind this GarbageCollector?

Cheers, Axel.

PS: I believe I never read anything about the garbage collector in the
user guide; I hope I didn't overlook it. If I did, a simple "See user
guide" is sufficient.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET