Closed Bug 422848 Opened 16 years ago Closed 16 years ago

cycle collector warnings about insufficient traverse/unlink should print path to expected garbage

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9

People

(Reporter: dbaron, Assigned: dbaron)

Details

Attachments

(2 files)

Attached patch patchSplinter Review
The cycle collector often warns about insufficient traversal or unlinking.  In many cases these warnings are about things that are keeping expected garbage alive (although that need not be the case all the time).  To make it clear to users of DEBUG_CC that these warnings are about things that keep expected garbage alive (when this is the case), we should print the path from the objects in such apparently-now-collectable cycles to the nearest expected garbage.
This is the same thing, ignoring all the reindentation.
Attachment #309311 - Flags: superreview?(peterv)
Attachment #309311 - Flags: review?(peterv)
(And note that this applies on top of the patch in bug 420514.)
Attachment #309311 - Flags: superreview?(peterv)
Attachment #309311 - Flags: superreview+
Attachment #309311 - Flags: review?(peterv)
Attachment #309311 - Flags: review+
Checked in to trunk.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: