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

Fix assertion/possible deadlock in thread shutdown in the presence of ThreadStatics on collectible assemblies #104003

Merged

Conversation

davidwrighton
Copy link
Member

Move all the locked accesses of the handle table and free list to being under a leaf lock

Copy link
Contributor

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

@@ -2099,6 +2100,7 @@ class LoaderAllocatorObject : public Object
return m_slotsUsed;
}

// All uses of this must be protected by m_crstLoaderAllocatorHandleTable
void SetSlotsUsed(INT32 newSlotsUsed)
Copy link
Member

Choose a reason for hiding this comment

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

Same comment as GetHandleTable?

Co-authored-by: Aaron Robinson <arobins@microsoft.com>
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

3 participants