Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Refactor class_fields_ivar_set #13741

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
Jun 30, 2025
Merged

Conversation

casperisfine
Copy link
Contributor

Reduce code duplication and fix a concurrency case.

byroot added 3 commits June 30, 2025 09:43
This code is similar between classes and generic ivars.
We must copy the table before inserting into it if we're in
multi-ractor mode to ensure the table won't be rehashed or
resized.
@byroot byroot merged commit 00357ee into ruby:master Jun 30, 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