Use async shutdown rather than nested event loops in ContentParent
Categories
(Core :: DOM: Content Processes, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: kmag, Assigned: kmag)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
ContentParent registers a separate process shutdown observer for each ContentParent, each of which tells the ContentParent to shut down, and then spins a nested event loop until it finishes. Aside from the fact that nested event loops are generally problematic, this has its own shutdown performance implications. What we really want is to tell all ContentParents to shutdown, and then block our shutdown phase until they all finish. That is what AsyncShutdown does for us by default.
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Backed out changeset 9bedd57840ed (bug 1637085) for WPT failures. CLOSED TREE
Logs:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=302374212&repo=autoland&lineNumber=3307
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=302369230&repo=autoland&lineNumber=4116
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=302369233&repo=autoland&lineNumber=4117
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&revision=9bedd57840edbba0a91f41e8347a6a724473d13a
Backout:
https://hg.mozilla.org/integration/autoland/rev/31e3dab240a28c162943acad26fb543c54144dc0
Comment 4•5 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:kmag, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 6•5 years ago
•
|
||
Backed out for build bustages.
Logs:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=304581353&repo=autoland&lineNumber=61464
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=304588832&repo=autoland&lineNumber=350
Backout: https://hg.mozilla.org/integration/autoland/rev/451b7934feb47bb748041cde53273afc5a567367
Comment 8•5 years ago
|
||
bugherder |
Description
•