Skip to content

Add missing write barriers to Random #14192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 18, 2025
Merged

Conversation

jhawthorn
Copy link
Member

We recently converted this to be WB_PROTECTED, but missed some locations the seed was set.

This is a little bit confusing because as far as I can tell some of the seeds are set in Ractor local storage, and others on actual objects.

We recently converted this to be WB_PROTECTED, but missed some locations
the seed was set.

This is a little bit confusing because as far as I can tell some of the
seeds are set in Ractor local storage, and others on actual objects.
@jhawthorn jhawthorn requested a review from peterzhu2118 August 12, 2025 17:42
Copy link
Member

@peterzhu2118 peterzhu2118 left a comment

Choose a reason for hiding this comment

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

Good catch!

This comment has been minimized.

@jhawthorn jhawthorn merged commit 0b098a9 into ruby:master Aug 18, 2025
85 checks passed
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