Skip to content
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

Add missing write barrier in IOU_initialize #1

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

byroot
Copy link
Contributor

@byroot byroot commented Sep 9, 2024

Since it's the initialize method, it's extremely unlikely that self would have reached the old generation, hence almost impossible to run into this bug short of using GC.stress.

But still, that write barrier is technically needed.

@byroot byroot force-pushed the missing-write-barrier branch from 817768f to 889154f Compare September 9, 2024 18:02
@noteflakes
Copy link
Contributor

Sorry, could you rebase the PR off main? I seem to have botched it :-.

Since it's the initialize method, it's extremely
unlikely that `self` would have reached the old
generation, hence almost impossible to run
into this bug short of using `GC.stress`.

But still, that write barrier is technically
needed.
@byroot byroot force-pushed the missing-write-barrier branch from 9b6aacc to e5ea69f Compare September 10, 2024 01:12
@byroot
Copy link
Contributor Author

byroot commented Sep 10, 2024

Done.

@noteflakes noteflakes merged commit 7e4894c into digital-fabric:main Sep 10, 2024
2 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