Skip to content

Fix gc hole in IO thread pool#54769

Merged
jkotas merged 1 commit intodotnet:mainfrom
davidwrighton:fix_threadpool_gchole
Jun 26, 2021
Merged

Fix gc hole in IO thread pool#54769
jkotas merged 1 commit intodotnet:mainfrom
davidwrighton:fix_threadpool_gchole

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 davidwrighton requested a review from kouvel June 25, 2021 21:55
@ghost ghost added the area-Tracing-coreclr label Jun 25, 2021
@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
Contributor

@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