RESOLVED FIXED 199523
WKObject's minimum object alignment needs to be larger
https://bugs.webkit.org/show_bug.cgi?id=199523
Summary WKObject's minimum object alignment needs to be larger
Saagar Jha
Reported 2019-07-05 11:51:48 PDT
Got a warning when working on something unrelated: apparently some of the objects we wrap with WKObject require 16-byte alignment on my system (such as WebFrameProxy) but we are running its constructor on an 8-byte aligned address. I believe that changing minimumObjectAlignment to 16 should cover everything that we use, but I have a patch with something that's IMO more portable than a hardcoded number that I'll attach as soon as I can get around to it.
Attachments
Patch (1.80 KB, patch)
2019-07-05 16:26 PDT, Saagar Jha
no flags
Saagar Jha
Comment 1 2019-07-05 16:26:37 PDT
Chris Dumez
Comment 2 2019-07-08 15:24:56 PDT
Looks like Tim Horton did this in Bug 179518.
Tim Horton
Comment 3 2019-07-08 15:32:23 PDT
Oh dear. That was watch bringup, my memory is not great.
WebKit Commit Bot
Comment 4 2019-07-09 14:49:27 PDT
Comment on attachment 373552 [details] Patch Clearing flags on attachment: 373552 Committed r247281: <https://trac.webkit.org/changeset/247281>
WebKit Commit Bot
Comment 5 2019-07-09 14:49:29 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2019-07-09 14:54:52 PDT
Note You need to log in before you can comment on or make changes to this bug.