summaryrefslogtreecommitdiff
path: root/test/coverage/autostart.rb
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-04-28 10:37:54 +0200
committerJean Boussier <[email protected]>2025-04-30 23:32:33 +0200
commitc65991978baac17fbfd3bc09e58a35bb2e5f769e (patch)
treed8800d920172d9fcc23bfe795a991b7c49218b42 /test/coverage/autostart.rb
parentf55138c9e7b6c62847eb4cefbfb452233615b59f (diff)
get_next_shape_internal: Skip VM lock for single child caseHEADmaster
If the shape has only one child, we check it lock-free without compromising thread safety. I haven't computed hard data as to how often that it the case, but we can assume that it's not too rare for shapes to have a single child that is often requested, typically when freezing and object.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13191
Diffstat (limited to 'test/coverage/autostart.rb')
0 files changed, 0 insertions, 0 deletions