Closed
Bug 1156934
Opened 10 years ago
Closed 5 years ago
Be more efficient with how we update the LookAndFeel int cache in the content process
Categories
(Core :: Widget, defect, P3)
Core
Widget
Tracking
()
RESOLVED
FIXED
mozilla78
People
(Reporter: mconley, Assigned: emilio)
References
Details
(Keywords: perf:resource-use, Whiteboard: tpi:+,)
Attachments
(1 file)
Bug 1096093 adds a mechanism for transferring a cache of LookAndFeel values from the parent process to content processes. This cache is updated when the parent notices that the system theme has changed.
It's updated once per PresContext, via the ThemeChanged IPDL message over PBrowser.
We should really only need to do this once per content process.
![]() |
||
Updated•9 years ago
|
Comment 1•5 years ago
|
||
Actually hurts E10S more than fission (as there are less content processes than tabs (typically) in e10s)
Whiteboard: tpi:+ → tpi:+,[qf]
Updated•5 years ago
|
Fission Milestone: --- → ?
Priority: P4 → P3
Comment 2•5 years ago
|
||
Emilio suggested notifying all content processes of the change (probably using ContentParent::GetAll()), then notifying all prescontexts within the process from there.
Flags: needinfo?(emilio)
Comment 3•5 years ago
|
||
Jim thinks this will get fixed by LookAndFeel remoting for win32k lockdown. He'll ask gcp.
Tracking for Fission M7 Beta
Severity: normal → S3
Fission Milestone: ? → M7
Updated•5 years ago
|
Whiteboard: tpi:+,[qf] → tpi:+,[qf:p3:resources]
Updated•5 years ago
|
Whiteboard: tpi:+,[qf:p3:resources] → tpi:+,[qf:p3:resource]
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Assignee | ||
Comment 4•5 years ago
|
||
This should fix the issue for preallocated processes that still don't
host any document, and also send a few less IPC messages.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/360c1a12d594
Notify all content processes when LookAndFeel changes. r=jesup
Comment 6•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Updated•5 years ago
|
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•