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

Avoid deadlocks in TypeDescriptor #97236

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

steveharter
Copy link
Member

Fixes #97179

The new test deadlocked about half of the time before the change here.

@ghost
Copy link

ghost commented Jan 19, 2024

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

Issue Details

Fixes #97179

The new test deadlocked about half of the time before the change here.

Author: steveharter
Assignees: steveharter
Labels:

area-System.ComponentModel

Milestone: 9.0.0

Copy link
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

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

Nice catch, fix looks reasonable.

Copy link
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

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

Actually look like this is failing validation tests added with previous PR, seeing if I can spot what might be causing it.

@ericstj ericstj self-requested a review January 19, 2024 23:47
Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Fix LGTM other than Eric's comments on the tests.

@steveharter
Copy link
Member Author

CI failure unrelated: #97241

@steveharter steveharter merged commit 86f25ad into dotnet:main Jan 22, 2024
105 of 111 checks passed
@steveharter steveharter deleted the ComponentModelHang branch January 22, 2024 14:02
@ericstj
Copy link
Member

ericstj commented Jan 22, 2024

LGTM. Thanks for catching this.

tmds pushed a commit to tmds/runtime that referenced this pull request Jan 23, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2024
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.

Potential deadlock in TypeDescriptor
3 participants