mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
to prevent the following scenario: 1. `delete_unique_str()` can be called while GC (sweeping) 2. it calls `st_insert()` to decrement the counter 3. `st_insert()` can try to extend the table even if the key exists 4. `xmalloc` while GC and cause BUG