Bug 250469 - Retain the shmem used for serialising WebCore::Font
Summary: Retain the shmem used for serialising WebCore::Font
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-11 11:45 PST by Matt Woodrow
Modified: 2023-01-11 19:07 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Woodrow 2023-01-11 11:45:29 PST
<rdar://100866403>

We're currently copying Font creationData across IPC using shmem (as part of the FragmentedSharedBuffer serialisation), but we then copy it back into local memory.

This adds an extra copy, but also means we can't attribute the memory to the WebContent process that owns the Font.
Comment 1 Matt Woodrow 2023-01-11 12:04:14 PST
Pull request: https://github.com/WebKit/WebKit/pull/8535
Comment 2 EWS 2023-01-11 19:07:35 PST
Committed 258817@main (9d7f3dc4ca95): <https://commits.webkit.org/258817@main>

Reviewed commits have been landed. Closing PR #8535 and removing active labels.