Skip to content

Fix assertion failure / crash in multi-core JIT - #53573

Merged
kouvel merged 2 commits into
dotnet:mainfrom
kouvel:StopProfileFix
Jun 2, 2021
Merged

Fix assertion failure / crash in multi-core JIT#53573
kouvel merged 2 commits into
dotnet:mainfrom
kouvel:StopProfileFix

Conversation

@kouvel

@kouvelkouvel commented Jun 2, 2021

Copy link
Copy Markdown
Contributor

- When the recorder times out it doesn't actually stop profiling, but writes out the profile
- The app may later stop profiling, and then it tries to write the profile again
- PR #48326 fairly expected that the profile is only written once (some state is mutated)
- The non-timeout stop-profile path was also not stopping the timer
- Fix for #53014 in main

@jkotasjkotas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks

@kouvel
kouvel merged commit f495f7e into dotnet:mainJun 2, 2021
@kouvel
kouvel deleted the StopProfileFix branch June 2, 2021 14:29
@ghostghost locked as resolved and limited conversation to collaborators Jul 2, 2021
Sign up for freeto 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.

2 participants

@kouvel@jkotas