Enable retained display lists for parent process
Categories
(Core :: Web Painting, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: mikokm, Assigned: mikokm)
References
(Depends on 1 open bug, Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(3 files)
At the moment we are only using display list retaining in content processes. Enabling retained display lists for parent process crashes when using popups or hovering over some UI elements. This bug tracks fixing those problems and enabling retained display lists for parent process.
Comment 1•6 years ago
|
||
Miko: can you land a patch to turn this into a pref? Thx! https://searchfox.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#3671
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 2•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e505ce45eec155292008a9d77310ef2a871e3c69
Comment 3•6 years ago
|
||
Comment on attachment 8937554 [details] [diff] [review] Add a pref to enable retained-dl for chrome layout.display-list.retain.chrome LGTM. Thx! r+
Updated•6 years ago
|
Pushed by mwoodrow@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/26ee6030db34 Add pref to allow retained display lists within the parent process. r=jet
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/26ee6030db34
Could we temporarily revert this patch, so it can be improved/less buggy?
Comment 7•6 years ago
|
||
Alice, is there a specific reason you marked this as a blocker instead of bug 1344971?
Comment 8•6 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #7) > Alice, is there a specific reason you marked this as a blocker instead of > bug 1344971? no.
Assignee | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment on attachment 8998627 [details] Bug 1413546 - Fix e10s logic in nsLayoutUtils::AreRetainedDisplayListsEnabled() and set layout.display-list.retain.chrome to true Matt Woodrow (:mattwoodrow) has approved the revision.
Comment 11•6 years ago
|
||
Pushed by mikokm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b4b3be038ab8 Fix e10s logic in nsLayoutUtils::AreRetainedDisplayListsEnabled() and set layout.display-list.retain.chrome to true r=mattwoodrow
Comment 12•6 years ago
|
||
Backed out for failing win testing\firefox-ui\tests\functional\sessionstore\test_restore_windows_after_windows_shutdown.py Push that started the failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=b4b3be038ab8e3f6c8aa4c3bcfdba2e581d65a13 Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=192935582&repo=autoland&lineNumber=64571 Backout: https://hg.mozilla.org/integration/autoland/rev/3202d623ead82c71bb1790ecfc5c3d99493d2e1e
Updated•6 years ago
|
Assignee | ||
Comment 13•6 years ago
|
||
It seems that test_restore_windows_after_windows_shutdown.py is failing because we have a dangling pointer to RenderFrameParent in nsDisplayRemote. The cause for this is either a missing invalidation for nsDisplayRemote, or a bug in the test that uses a special shutdown mechanic.
Comment 14•6 years ago
|
||
It's possible that there is something up with the test, but I'd expect the same issue to come up with a ordinary OS shutdown, this is afaik the only test that exercises that shutdown path.
Assignee | ||
Updated•6 years ago
|
Comment 15•6 years ago
|
||
Pushed by mikokm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/716d49302a28 Fix e10s logic in nsLayoutUtils::AreRetainedDisplayListsEnabled() and set layout.display-list.retain.chrome to true r=mattwoodrow
Comment 16•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/716d49302a28
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 17•5 years ago
|
||
Should we reopen this given that we have since disabled it?
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 18•5 years ago
|
||
This was disabled in bug 1496491, because a Windows specific bug with dragging regions prevented users from closing tabs.
Assignee | ||
Comment 19•5 years ago
|
||
Comment 20•5 years ago
|
||
Pushed by mikokm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/87409f291fa6 Enable retained display lists for parent process r=mattwoodrow
Comment 21•5 years ago
|
||
bugherder |
Comment 22•5 years ago
|
||
We noticed this performance improvements:
== Change summary for alert #21276 (as of Tue, 04 Jun 2019 07:38:06 GMT) ==
Improvements:
5% tart windows10-64-shippable opt e10s stylo 2.68 -> 2.53
4% tart windows7-32-shippable opt e10s stylo 2.65 -> 2.54
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=21276
Comment 23•5 years ago
|
||
Hi, the improvements below came with your patch:
== Change summary for alert #21276 (as of Tue, 04 Jun 2019 07:38:06 GMT) ==
Improvements:
5% tart windows10-64-shippable opt e10s stylo 2.68 -> 2.53
4% tart windows7-32-shippable opt e10s stylo 2.65 -> 2.54
2% tart linux64-shippable opt e10s stylo 2.04 -> 2.00
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=21276
Description
•