[Webkit-unassigned] [Bug 138963] Remove alignment code from IPC coders

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 5 22:29:52 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=138963

--- Comment #11 from Kimmo Kinnunen <kkinnunen at apple.com> ---
I'm not sure at 2014, but in 2022 I think the alignment is used to ensure that the possible in-place references of data are correctly aligned.
E.g. mostly the case where we would refer to Span<float> that exist in the stream IPC buffer or mach message buffer, and we'd prefer not to copy it (say it's 50mbs of floats for WebGL).

There might be cases where the alignment could be omitted.

There might be call sequences where the invariants are broken so that the above expectation doesn't actually hold, we don't have the tests yet for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221006/87e1bcd6/attachment.htm>


More information about the webkit-unassigned mailing list