Open Bug 1414290 Opened 8 years ago Updated 3 years ago

nsWindowMemoryReporter should not call AddRef/Release on cycle collectable objects

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

REOPENED

People

(Reporter: smaug, Assigned: smaug)

Details

nsWindowMemoryReporter does plenty of QIs and such on cycle collectable objects, by doing that if may end up affecting cycle collection and postponing deletion of some objects.
Do we run this during an incremental cycle collection? If not it shouldn't matter.
We can do it at any point, whenever a timer runs.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
But even then, nsWindowMemoryReporter.cpp does end up bringing all the windows to CC graph. They might not be there otherwise, at least in theory.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Assignee: nobody → bugs
Priority: -- → P3
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.