Is this a bug? Python intermittently stops dead for seconds
Fredrik Lundh
fredrik at pythonware.com
Sun Oct 1 11:48:38 EDT 2006
charlie strauss wrote:
> level0: newly created objects
> level1: objects that survived 1 round of garbage collection
> level2: objects that survivied 2+ rounds of gargbage collection
>
> Since all of my numerous objects are level2 objects, and none of
> them are every deallocated, then I should never trip the GC for
> these.
your understanding of generational GC is a bit fuzzy, it seems. that an
object is promoted to a higher level means that it's not inspected quite
as often as lower-level objects, not that it's never inspected at all.
</F>
More information about the Python-list
mailing list