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.
Make ruby_global_symbols movable
The
ids
array anddsymbol_fstr_hash
were pinned because they werekept 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.