Subj : Re: GC questions / debugging To : netscape.public.mozilla.jseng From : Brendan Eich Date : Thu Dec 11 2003 10:58 am Brendan Eich wrote: > GC_MARK_DEBUG is useful to find why something is not being collected, > even though you think it ought to be garbage (leak diagnosis, IOW). You > can also use GC_MARK_DEBUG-enabled code to dump the heap. An extended XPCOM leak debugging tutorial masterfully written by dbaron reaches its musical climax with some GC_MARK_DEBUG hackery. See http://www.mozilla.org/performance/leak-tutorial.html. /be .