-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Atomic wait: zero-initialize wait list head #2781
Conversation
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.
Non chained control flow wants a line break but otherwise it looks good to me
Co-authored-by: Michael Schellenberger Costa <[email protected]>
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.
minor comment change requested, will just merge it.
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for improving the memory consumption of |
Co-authored-by: Michael Schellenberger Costa <[email protected]> Co-authored-by: nicole mazzuca <[email protected]>
Minimum scope of #2755 - based on #2755 (comment) suggestion.
Reduces size of x64
msvcp140_atomic_wait_oss.dll
from 44.5 KB to 28.0 KB - did not investigate exactly why, but expect reduction of relocation table and initialized data segment.Full scope of #2755 as initially suggested can be implemented, but there are some complexities:
Using lazy initialization for list head