diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-01-06 09:09:18 -0500 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-01-09 08:49:29 -0500 |
commit | 3be2acfafd3b3c6168e2266c7c6561d143d7ae5c (patch) | |
tree | abb57c1ed4aca5e9050cb8803fb9adad366aedf4 /.travis.yml | |
parent | 29dc9378d971a66ad3fcb21281aac23f0521afe5 (diff) | |
download | ruby-3be2acfafd3b3c6168e2266c7c6561d143d7ae5c.tar.gz |
Fix re-embedding of strings during compaction
The reference updating code for strings is not re-embedding strings
because the code is incorrectly wrapped inside of a
`if (STR_SHARED_P(obj))` clause. Shared strings can't be re-embedded
so this ends up being a no-op. This means that strings can be moved to a
large size pool during compaction, but won't be re-embedded, which would
waste the space.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions