mirror of
https://github.com/ruby/ruby.git
synced 2026-10-29 00:46:26 +08:00
Using the `container->obj = rb_gc_location(container->obj)` pattern dirties pages unconditionally. If we're in a forked process, this is bad for CoW. If the object hasn't moved, don't reassign.