[Python-Dev] Linus on garbage collection
fuzzyman at voidspace.org.uk
Fri May 6 19:12:51 CEST 2011
On 06/05/2011 18:07, Glyph Lefkowitz wrote:
> On May 6, 2011, at 12:31 PM, Michael Foord wrote:
>> pypy and .NET choose to arbitrarily break cycles rather than leave
>> objects unfinalised and memory unreclaimed. Not sure what Java does.
> I think that's a mischaracterization of their respective collectors;
> "arbitrarily break cycles" implies that user code would see broken or
> incomplete objects, at least during finalization, which I'm fairly
> sure is not true on either .NET or PyPy.
"Therefore we decided to break such a cycle at an arbitrary place, which
doesn't sound too insane."
All the best,
> Java definitely has a collector that can handles cycles too. (None of
> these are reference counting.)
May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev