diff options
author | John Hawthorn <[email protected]> | 2025-06-15 01:18:22 -0700 |
---|---|---|
committer | John Hawthorn <[email protected]> | 2025-06-17 15:32:53 -0700 |
commit | a7dc515c1df34c9952401cfb17d52266b7cf5534 (patch) | |
tree | 15580052d0f014a68817bfa295ec3e5ca713e0f4 /lib/rdoc/context | |
parent | e3ec101cc21613550ef87b7bd8432a69c7e639de (diff) |
Fix too early writebarrier in tally_up
After returning from the callback in st_update is the point that the
hash table may be resized, which could trigger a GC and mark the table
being used for the tally.
RUBY_GC_LIBRARY=wbcheck WBCHECK_VERIFY_AFTER_WB=1 ./miniruby -e '(0...100).map(&:to_s).tally'
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13629
Diffstat (limited to 'lib/rdoc/context')
0 files changed, 0 insertions, 0 deletions