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 gc hole in IO thread pool #54769

Merged
merged 1 commit into from
Jun 26, 2021
Merged

Conversation

davidwrighton
Copy link
Member

@davidwrighton davidwrighton commented Jun 25, 2021

Its not safe to place a managed object reference in an ARG_SLOT without gc protecting the ARG_SLOT across a call to the MethodDescCallSite constructor.

Fix #51477

@davidwrighton
Copy link
Member Author

@josalem as you mentioned in one of the associated issues that you were going to look into this gc stress failure.

Copy link
Member

@kouvel kouvel left a comment

Choose a reason for hiding this comment

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

Thanks!

@jkotas
Copy link
Member

jkotas commented Jun 26, 2021

Failure is #54713

@jkotas jkotas merged commit 4be7e67 into dotnet:main Jun 26, 2021
@davidfowl
Copy link
Member

How long has this been here?

@jkotas
Copy link
Member

jkotas commented Jun 26, 2021

Introduced in #38225

@davidfowl
Copy link
Member

Ah. We just need to move this code to managed too 😁

@ghost ghost locked as resolved and limited conversation to collaborators Jul 26, 2021
@davidwrighton davidwrighton deleted the fix_threadpool_gchole branch April 13, 2023 18:48
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.

Test failure tracing\\eventpipe\\processenvironment\\processenvironment\\processenvironment.cmd
4 participants