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 Jacobs The OPAL Group - Enterprise Systems Architect Voice: (216) 986-0710 x 19 E-mail: firstname.lastname@example.org Fax: (216) 986-0714 WWW: http://www.theopalgroup.com