summaryrefslogtreecommitdiff
path: root/test/ruby/test_integer.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-12-09 02:17:38 -0800
committerJohn Hawthorn <john@hawthorn.email>2025-12-09 22:48:06 -0800
commit462df17f8689e9ee87a45b88bb3283fd339e1247 (patch)
tree17d141403c3f4fb4a07274c4a7607dcf991427f7 /test/ruby/test_integer.rb
parent81fbdff8fdf2ae7afb2fa19319ff7d40379521fe (diff)
Attempt to reuse garbage slots in concurrent hash
This removes all allocations from the find_or_insert loop, which requires us to start the search over after calling the provided create function. In exchange that allows us to assume that all concurrent threads insert will get the same view of the GC state, and so should all be attempting to clear and reuse a slot containing a garbage object.
Diffstat (limited to 'test/ruby/test_integer.rb')
0 files changed, 0 insertions, 0 deletions