diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-02-07 10:30:32 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-02-10 08:47:44 -0500 |
| commit | 8d0416ae0b6e725c855a3afb1225fe892d42dd4e (patch) | |
| tree | 923a8c60e5bd4018c750c21c2981731c61465bfe /include | |
| parent | 397bb7e42ce72ac7a8c8516cbe17b3310d0a9ad0 (diff) | |
Make ruby_global_symbols movable
The `ids` array and `dsymbol_fstr_hash` were pinned because they were
kept alive by rb_vm_register_global_object. This prevented the GC from
moving them even though there were reference updating code.
This commit changes it to be marked movable by marking it as a root object.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12711
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
