Open
Bug 863240
Opened 12 years ago
Updated 2 years ago
Allows nsICycleCollectorListener to only iterate over objects of a given compartment
Categories
(Core :: Cycle Collector, defect)
Core
Cycle Collector
Tracking
()
NEW
People
(Reporter: ochameau, Unassigned)
Details
Currently, nsICycleCollectorListener only iterate over either the optimized list, or the whole CC graph. That end up being very costly when it comes to build tools that want to only analyze the leaks of a given compartment.
Especially if we want to build a tool to debug web pages leaks, it will be unfortunate to have to go thought all Firefox objects in order to build snapshots of objects being held by a precise webpage.
I discussed about that with jimb during last devtools workweek and was saying that it might be possible, especially with the work done by gabor in bug 820170.
That will help knowing the global, and so the compartment of DOM objects.
Updated•3 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Component: XPCOM → Cycle Collector
You need to log in
before you can comment on or make changes to this bug.
Description
•