Bug 248301

Summary: Reduce memory usage when sending SharedBuffer across IPC
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: WebKit2Assignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Jean-Yves Avenard [:jya] 2022-11-23 23:13:35 PST
Currently, whenever we send a SharedBuffer across IPC we allocate a new SharedMemory.

We can reduce that memory usage by packing SharedBuffer content into the same SharedMemory where possible.
Comment 1 Jean-Yves Avenard [:jya] 2022-11-23 23:14:28 PST
rdar://102201837
Comment 2 Jean-Yves Avenard [:jya] 2022-11-24 00:31:41 PST
Pull request: https://github.com/WebKit/WebKit/pull/6780
Comment 3 EWS 2022-11-24 15:15:30 PST
Committed 256999@main (80bf5c2acfbc): <https://commits.webkit.org/256999@main>

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