diff options
| author | Matt Valentine-House <matt@eightbitraptor.com> | 2026-05-18 14:50:21 +0100 |
|---|---|---|
| committer | Matt Valentine-House <matt@eightbitraptor.com> | 2026-05-20 11:44:12 +0100 |
| commit | 332315a46487e11a5712388e43ad65bd5f97b72b (patch) | |
| tree | 8ab426b4d210b1d922a28c484fe8d48d65af2458 /ext/pathname | |
| parent | 0dc0280bb2542a7c8721536ce998bfb8f2401b5d (diff) | |
We made a mistake calculating slot sizes during the heap slot sizes
refactor. Previously BASE_SLOT_SIZE included RVALUE_OVERHEAD, this was
lost during the refactor to use the SLOT macro.
The result of this was that when Ruby was compiled with -DRUBY_DEBUG it
was assumed that the last word of each slot was RVALUE_OVERHEAD. Because
this hadn't been taken into account at allocation time, all slots were
effectively one word shorter.
This PR adds RVALUE_OVERHEAD to the size calcualted in the SLOT macro
directly, so it will be added on to the physically allocated size at
allocation time.
Diffstat (limited to 'ext/pathname')
0 files changed, 0 insertions, 0 deletions
