Project

General

Profile

« Previous | Next » 

Revision 8d0416ae

Added by peterzhu2118 (Peter Zhu) 5 months ago

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.