mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
If the object isn't shareable and already has a object_id we can access it without a lock. If we need to generate an ID, we may need to lock to find the child shape. We also generate the next `object_id` using atomics.