Closed Bug 1640119 Opened 8 months ago Closed 8 months ago

Pass initial shared-fontlist blocks to child via the SetXPCOMProcessAttributes message

Categories

(Core :: Layout: Text and Fonts, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

Details

Attachments

(1 file)

During content-process startup, we initialize gfxPlatform, which will set up the font list; this results in at least one GetFontListShmBlock sync-ipc message, which may block if the parent is busy.

We should be able to improve content-process startup by attaching the current list of font-list shared-memory blocks to the SetXPCOMProcessAttributes so that they're immediately available to the child; then it will only need to use the sync-ipc GetFontListShmBlock very occasionally (when a new block has been added to the list as it grows), but not during startup.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/06c26e973285
Pass shared-memory blocks for the font list as part of SetXPCOMProcessAttributes. r=jwatt
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Regressions: 1648356
You need to log in before you can comment on or make changes to this bug.