diff options
| author | Luke Gruber <luke.gruber@shopify.com> | 2026-02-06 16:08:57 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-06 16:08:57 -0500 |
| commit | 954094a910c2dcf459caeb61e20143df0864f914 (patch) | |
| tree | 5eeb6fcfdd17a10db4062dff5021e6a12421934b /test/ruby/test_method_cache.rb | |
| parent | 7b3370a5579956404d742a2e104d72e7c89480e4 (diff) | |
Take VM Lock during rb_gc_{un}register_address (#16097)
The `Rice` C++ library uses an Anchor class that uses RAII to call
`rb_gc_register_address`, `rb_gc_unregister_address` during init+destruct.
It's unclear if this API is meant to be used at runtime like this, but we can
at least lock the VM so it works safely across Ractors and doesn't mangle the
`global_object_list` table.
Diffstat (limited to 'test/ruby/test_method_cache.rb')
0 files changed, 0 insertions, 0 deletions
