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

[release/7.0] Fix GCEvent::Wait with timeout on OSX #75316

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 9, 2022

Backport of #75298 to release/7.0

/cc @VSadov

Customer Impact

We were using uninitialized endTime in GCEvent::Wait when waiting 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.

Testing

Risk

Low: we are replacing a nondeterministic timeout with a value that we use on all other platforms.

@ghost
Copy link

ghost commented Sep 9, 2022

Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #75298 to release/7.0

/cc @VSadov

Customer Impact

Testing

Risk

IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-GC-coreclr

Milestone: -

@carlossanlop
Copy link
Member

@jeffschwMSFT need your stamp of approval, please.

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@carlossanlop
Copy link
Member

Signed off, approved, CI is a shiny bright green. Ready to merge. :shipit:

@carlossanlop carlossanlop merged commit 8bb1983 into release/7.0 Sep 9, 2022
@carlossanlop carlossanlop deleted the backport/pr-75298-to-release/7.0 branch September 9, 2022 18:22
@ghost ghost locked as resolved and limited conversation to collaborators Oct 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants