Closed
Bug 1064587
Opened 9 years ago
Closed 9 years ago
Cycle collect nsFormFillController
Categories
(Toolkit :: Find Toolbar, defect)
Toolkit
Find Toolbar
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file)
3.82 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
e10s M5 is leaking 10 TabChildren (along with nsDocShell, etc.), plus some other stuff. I can reproduce this locally with the slightly smaller: ./mach mochitest-plain --e10s --total-chunks 10 --this-chunk 10 These TabChildren are all being rooted by various |nsXPCWrappedJS (nsIAutoCompletePopup)|. The only C++ things I can see that hold onto that are fields of nsFormFillController, which is exposed to JS, so I could certainly imagine cycles involving it. I'll try CCing it.
Comment 1•9 years ago
|
||
What is keeping nsFormFillController alive?
Assignee | ||
Comment 2•9 years ago
|
||
Hmm, it is hard to tell just from the allocation stacks, because everything is just generic XPCOM stacks. Some other XPCOM service it looks like?
Assignee | ||
Comment 3•9 years ago
|
||
Locally, this fixes the leaks in the test case in comment 0 (partial M5 e10s run). I'll see what happens in an M5 e10s run.
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8486122 [details] [diff] [review] Cycle collect nsFormFillController. Just a generic cycle collection patch, so I think it is reasonable for smaug to review it. try run: https://tbpl.mozilla.org/?tree=Try&rev=9156076fd279
Attachment #8486122 -
Flags: review?(bugs)
Assignee | ||
Comment 5•9 years ago
|
||
There's a bunch of weak pointers that get cleared using mutation observers that I suppose could be turned into strong pointers now, but I just left it alone.
Assignee | ||
Updated•9 years ago
|
Summary: nsXPCWrappedJS (nsIAutoCompletePopup) keeping alive TabChildren in M5 e10s → Cycle collect nsFormFillController
Updated•9 years ago
|
Attachment #8486122 -
Flags: review?(bugs) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 6•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/badb065c77ac
Keywords: checkin-needed
Comment 7•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/badb065c77ac
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•