Closed Bug 728549 Opened 12 years ago Closed 12 years ago

After loading a page to about:newtab tab, about:newtab document stays in memory

Categories

(Firefox :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 728577

People

(Reporter: smaug, Unassigned)

Details

After loading a page to about:newtab tab, about:newtab document stays in memory.
Looks like it is released after loading some new page to the tab.

str:
Open FF.
Open a new tab (it should have about:newtab loaded)
Click some link in the page
Run cycle collector, check cc log. about:newtab is there.
(bug 728407#c0 can be useful)
If I click a link further about:newtab disappears.

See also bug 724239. Is it maybe held alive by the bfcache or something? I thought the bfcache sometimes freezes windows and sometimes throws them away.
Yeah, clicking further makes it disappear.
Based on the cc log 0x7fab53fd6740 [rc=6] root nsGenericElement (xhtml) a class='site' about:newtab
is the root.
IIRC bfcache doesn't have pointers to elements, but to document.
Also, bfcached documents are "in CC generation", so CC doesn't traverse them at all.
This could be related to bug 728426, where a document is also kept alive temporarily.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
No longer blocks: leakychrome
You need to log in before you can comment on or make changes to this bug.