Open Bug 1107552 Opened 10 years ago Updated 1 year ago

Incrementalize iterating over JS holders in BeginCollection

Categories

(Core :: Cycle Collector, defect)

defect

Tracking

()

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

With many tabs open, Olli sees a very long first slice of the CC, and most of the time is being spent iterating over the JS holders table.  If we move the purple buffer clearing before mJSRuntime->TraverseRoots() we should be able to incrementalize it safely.  This might involve turning JS holders into a multi-level hash table.
Severity: normal → S3
Component: XPCOM → Cycle Collector
You need to log in before you can comment on or make changes to this bug.