diff options
author | Jean Boussier <[email protected]> | 2025-06-03 09:26:15 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-06-03 21:15:41 +0200 |
commit | e27404af9e2888bede6667e4bd0a145c4efa7c46 (patch) | |
tree | c97c020f9f3deb5be2f8cc21a82d942affba9b4a /ractor_sync.c | |
parent | ea8b53a53954c2f34b1093ae2547951ae0e1fe8c (diff) |
Use all 32bits of `shape_id_t` on all platforms
Followup: https://github.com/ruby/ruby/pull/13341 / [Feature #21353]
Even thought `shape_id_t` has been make 32bits, we were still limited
to use only the lower 16 bits because they had to fit alongside `attr_index_t`
inside a `uintptr_t` in inline caches.
By enlarging inline caches we can unlock the full 32bits on all
platforms, allowing to use these extra bits for tagging.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13500
Diffstat (limited to 'ractor_sync.c')
0 files changed, 0 insertions, 0 deletions