summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-05-10 16:18:33 +0200
committerJean Boussier <[email protected]>2025-05-14 14:41:46 +0200
commitb5575a80bc3849651c395d0ae470eb41dc3aa897 ()
treedd6c002def6b08de4e58ddb534084d313627644e /yjit
parent920dc0fe3aafaf4d70f742abf846d7a2d9c142c4 (diff)
Reduce `Object#object_id` contention.
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.
Notes: Merged: https://.com/ruby/ruby/pull/13298
0 files changed, 0 insertions, 0 deletions