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

non-power-of-two atomic handling #41369

Merged
merged 4 commits into from
Jul 5, 2021
Merged

non-power-of-two atomic handling #41369

merged 4 commits into from
Jul 5, 2021

Conversation

vtjnash
Copy link
Sponsor Member

@vtjnash vtjnash commented Jun 25, 2021

We were not handling non-power-of-two sizes, which is now fixed here. We always write trailing padding as zeros to minimize cmpswap failures (though we are tolerant of other values being present). In the future, we could consider potentially also extending that to all padding bytes being zeroed, but typically zeroinit is not the default, so it may not suffice to work.

@vtjnash vtjnash added multithreading Base.Threads and related functionality bugfix This change fixes an existing bug backport 1.7 labels Jun 25, 2021
@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Jul 1, 2021
@vtjnash vtjnash requested a review from JeffBezanson July 1, 2021 16:41
@DilumAluthge
Copy link
Member

The tester_win64 failure is #41417.

@vtjnash Is this good to merge?

@vtjnash
Copy link
Sponsor Member Author

vtjnash commented Jul 5, 2021

Yes, that is what the merge-me tag means

@DilumAluthge DilumAluthge merged commit 252ae69 into master Jul 5, 2021
@DilumAluthge DilumAluthge deleted the jn/41219 branch July 5, 2021 23:37
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Jul 6, 2021
KristofferC pushed a commit that referenced this pull request Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug multithreading Base.Threads and related functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants