Skip to content

Conversation

@XrXr
Copy link
Member

@XrXr XrXr commented Mar 14, 2020

21994b7 removed the write barrier that
was present in rb_hash_aset(). Re-insert it to not crash during GC.


See https://bugs.ruby-lang.org/issues/16689

@XrXr XrXr requested review from ko1 and tenderlove March 14, 2020 01:04
@XrXr XrXr marked this pull request as ready for review March 14, 2020 14:16
Copy link
Contributor

@ko1 ko1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great patch!

21994b7 removed the write barrier that
was present in rb_hash_aset(). Re-insert it to not crash during GC.

[Bug #16689]
@XrXr XrXr force-pushed the transform-missing-wb branch from a204b62 to d6391ec Compare March 15, 2020 20:28
@XrXr XrXr changed the title Add missing write barrier for Hash#transform_value{,!} Add missing write barrier for Hash#transform_values{,!} Mar 15, 2020
@XrXr XrXr merged commit 713dc61 into ruby:master Mar 15, 2020
@XrXr XrXr deleted the transform-missing-wb branch March 15, 2020 22:11
casperisfine pushed a commit to Shopify/ruby that referenced this pull request Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants