summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2025-05-15 11:31:11 +0200
committerJean Boussier <jean.boussier@gmail.com>2025-05-15 16:29:45 +0200
commit31ba8816846c9dfec47e7bfe1752118b44400b05 (patch)
tree1a442c4a25514b9c2534aca39c69d401d04ae9e6 /spec/ruby/core/array
parent60ffb714d251878753ebf66e68149311c728cac6 (diff)
Disable GC when building id2ref table
Building that table will likely malloc several time which can trigger GC and cause race condition by freeing objects that were just added to the table. Disabling GC to prevent the race condition isn't elegant, but iven this is a deprecated callpath that is executed at most once per process, it seems acceptable.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13346
Diffstat (limited to 'spec/ruby/core/array')
0 files changed, 0 insertions, 0 deletions