Open Bug 1088896 Opened 10 years ago Updated 1 year ago

Check that we only reenter the CC during Unlink() and Unroot()

Categories

(Core :: Cycle Collector, defect)

defect

Tracking

()

People

(Reporter: mccr8, Unassigned)

Details

This is sort of a followup to bug 1087799.  Right now, we allow reentering the CC at any time (we just don't do anything).  This is probably a bad idea except during the Unlink() and Unroot() portion of CC, so it would be nice to add some assertions for that.  My idea is that we'd add a boolean to nsCycleCollector that gets set to true when it is okay to reenter, and assert that it is true when we reenter.
Severity: normal → S3
Component: XPCOM → Cycle Collector
You need to log in before you can comment on or make changes to this bug.