RESOLVED FIXED 266098
Reduce necessary bits in some compact pointer encodings
https://bugs.webkit.org/show_bug.cgi?id=266098
Summary Reduce necessary bits in some compact pointer encodings
David Degazio
Reported 2023-12-08 13:30:19 PST
rdar://119397319 In a few places in the code, we use an ad-hoc compact pointer tuple encoding separate from WTF::CompactPointerTuple, to store a small payload in the unused space of a pointer. Currently, we assume pointers never exceed 48 bits in width, and reserve a 16 bit payload by shifting the pointer up. However, we only actually need about a byte of space in each of these places. Let's modify these to shift the payload upwards, so the pointer is easier to decode, and we don't claim more space than we need.
Attachments
David Degazio
Comment 1 2023-12-08 14:19:49 PST
EWS
Comment 2 2023-12-08 21:26:26 PST
Committed 271789@main (8b1288d0a44b): <https://commits.webkit.org/271789@main> Reviewed commits have been landed. Closing PR #21532 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.