Skip to content

Add missing write barrier in ParserConfig#980

Merged
byroot merged 1 commit into
ruby:masterfrom
byroot:missing-wb
May 12, 2026
Merged

Add missing write barrier in ParserConfig#980
byroot merged 1 commit into
ruby:masterfrom
byroot:missing-wb

Conversation

@byroot
Copy link
Copy Markdown
Member

@byroot byroot commented May 12, 2026

This couldn't possibly lead to a crash unless you'd mess with GC.stress or send(:initialize) on an old object.

But for correctness, it should be there.

This couldn't possibly lead to a crash unless you'd mess
with GC.stress or `send(:initialize)` on an old object.

But for correctness, it should be there.
@byroot byroot merged commit ab6972d into ruby:master May 12, 2026
41 checks passed
@byroot byroot deleted the missing-wb branch May 12, 2026 06:26
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.

1 participant