[Python-Dev] Garbage collector problem

Kevin Jacobs jacobs@penguin.theopalgroup.com
Fri, 28 Jun 2002 16:11:41 -0400 (EDT)


On Fri, 28 Jun 2002, Neil Schemenauer wrote:
> Another idea would be exploit the fact that we know most of the root
> objects (e.g. sys.modules and the current stack of frames).  I haven't
> figured out a good use for this knowledge though.  

If the root objects cannot be reached by the GC traversal, you get the
approach that Jeremy is suggesting.  (Though I just looked, and frame
objects aren't exempt from tracking)

-Kevin

--
Kevin Jacobs
The OPAL Group - Enterprise Systems Architect
Voice: (216) 986-0710 x 19         E-mail: jacobs@theopalgroup.com
Fax:   (216) 986-0714              WWW:    http://www.theopalgroup.com