-
-
Notifications
You must be signed in to change notification settings - Fork 419
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
Fix incorrect atomics usage #4159
Conversation
@jemc this almost assuredly will fix some potential runtime instability/boom/o no, invariant violated issues on Arm. I think that is worth release notes, but I wanted to ask you first. |
cbb2eb3
to
58ab6e7
Compare
I was looking at #1206 and noticed that when Benoit did the porting, that in a few places, he changed the atomics usage unintentionally from what it was previously. This commit reverts those (almost assuredly) inadvertent changes. I can't guarantee that there are no other bits that were incorrect in that commit, but I know these bits where. I believe from a cursory glance that these could do "very bad things" on weakly ordered memory platforms like Arm.
Given that this fixes a real-world class of bugs on ARM, I do think it makes sense to add release notes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good apart from the missing release notes.
@jemc can you give the release notes a review and if good, squash and merge this using the first comment on the PR as the commit message? |
@ponylang/committer can someone give this a final review? |
I was looking at #1206 and noticed
that when Benoit did the porting, that in a few places, he changed the
atomics usage unintentionally from what it was previously.
This commit reverts those (almost assuredly) inadvertent changes.
I can't guarantee that there are no other bits that were incorrect
in that commit, but I know these bits where.
I believe from a cursory glance that these could do "very bad things"
on weakly ordered memory platforms like Arm.