-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 GCEvent::Wait with timeout on OSX #75298
Conversation
Tagging subscribers to this area: @dotnet/gc Issue DetailsFixes:#75005 We are using uninitialized
|
I think this will need to be ported to 7.0 |
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.
Thanks!
agreed. please backport. thanks @VSadov! |
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.
LGTM, thank you!
Thanks!! |
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3019221522 |
Fixes:#75005
We are using uninitialized
endTime
when Wait with a timeout waits on a conditional variable on OSX.This can result in unpredictable behavior. On NativeAOT it results in BGC starting without a signal and asserting/crashing.