RESOLVED FIXED 266080
Introduce compile-time checks and alternate allocation paths for compact pointer types
https://bugs.webkit.org/show_bug.cgi?id=266080
Summary Introduce compile-time checks and alternate allocation paths for compact poin...
David Degazio
Reported 2023-12-08 10:10:23 PST
rdar://119382681 Currently, we make the call for whether packed and compact pointer representations are usable based on the global EFFECTIVE_ADDRESS_WIDTH constant; instead, it might be desirable for us move towards finer-grained enablement of these optimizations, specifically being able to enable them on a type-by-type basis. As a first step, let's: - Require types to opt-into compact pointer usage, instead of assuming all pointers can be compacted/packed in the same way. - Add alternate allocator paths for types that are used in compact pointers, giving us a new API point to control how they are allocated in the future.
Attachments
David Degazio
Comment 1 2023-12-08 10:54:59 PST
EWS
Comment 2 2023-12-09 00:33:09 PST
Committed 271796@main (27959d8049ad): <https://commits.webkit.org/271796@main> Reviewed commits have been landed. Closing PR #21517 and removing active labels.
WebKit Commit Bot
Comment 3 2023-12-09 03:09:47 PST
Re-opened since this is blocked by bug 266140
David Degazio
Comment 4 2023-12-09 09:55:42 PST
EWS
Comment 5 2023-12-09 17:53:44 PST
Committed 271819@main (2c04bdef5846): <https://commits.webkit.org/271819@main> Reviewed commits have been landed. Closing PR #21576 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.