Open Bug 835544 Opened 11 years ago Updated 1 year ago

Unpurple nsEventListenerManager right before we CC

Categories

(Core :: Cycle Collector, defect)

defect

Tracking

()

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I see 4 of these in my CC graph (putting a few dozen other things into the CC graph), occasionally, when I look at the CC logs with TechCrunch open.  I think we purge these from the purple buffer during JS cleanup, because they can't be made skippable directly.  I wonder how feasible it would be to do a pass right at the start of the CC, that doesn't do any of the unmark gray stuff, just to clear these out.
We purge them from purple buffer during js cleanup because we want to do black-bit-propagation and 
can just at the same time remove purple-ness.

But We could indeed check whether mTarget is certainly alive, in which case ELM is alive.
When you see ELMs in the graph, are they roots?
Yes, they are roots.  This is what the CC graph is, where purple are things in the purple buffer, and red is XPConnect roots (possibly overlapping with purple things)
Severity: normal → S3
Component: XPCOM → Cycle Collector
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: