Closed
Bug 1249795
Opened 9 years ago
Closed 9 years ago
Clear strong refs to message managers once we've destroyed nsFrameLoader
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(1 file, 1 obsolete file)
589 bytes,
patch
|
billm
:
review+
mconley
:
feedback+
|
Details | Diff | Splinter Review |
Destroying frameloader does clear references like mDocShell, but we keep message managers alive, even though we've called Disconnect() on them.
There are cases when JS keeps nsFrameLoader objects alive too long, which leads to keeping
also other stuff alive too long.
This is possibly helping with bug 1195295.
I think I need to do a try: -a with the patch though.
Attachment #8721508 -
Flags: review?(wmccloskey)
Attachment #8721508 -
Flags: feedback?(mconley)
Assignee | ||
Comment 1•9 years ago
|
||
(and I want to clear them both after they both have been disconnected.)
Assignee | ||
Comment 2•9 years ago
|
||
same without some windows line endings which pastebin decided to add to the patch.
Attachment #8721508 -
Attachment is obsolete: true
Attachment #8721508 -
Flags: review?(wmccloskey)
Attachment #8721508 -
Flags: feedback?(mconley)
Attachment #8721515 -
Flags: review?(wmccloskey)
Attachment #8721515 -
Flags: feedback?(mconley)
Assignee | ||
Comment 3•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4751f0a01194
(hopefully the patch I just landed to m-i doesn't burn the tree)
Attachment #8721515 -
Flags: review?(wmccloskey) → review+
Comment 4•9 years ago
|
||
Comment on attachment 8721515 [details] [diff] [review]
clear_mm.diff
Review of attachment 8721515 [details] [diff] [review]:
-----------------------------------------------------------------
Makes sense to me. Thanks for looking into this, smaug!
Attachment #8721515 -
Flags: feedback?(mconley) → feedback+
Assignee | ||
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•