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 jitdump issues introduced by #85801 #87547

Merged
merged 1 commit into from
Jun 15, 2023
Merged

Conversation

davmason
Copy link
Member

In #85801 I removed the jitdump specific locks in favor of the global perfmap lock, but left the checks that pthread_mutex_unlock returned 0 in place. Result would be the number of bytes written after logging a method and would cause a call to FatalError() and prematurely shut down the jitdump support.

@davmason davmason added this to the 8.0.0 milestone Jun 14, 2023
@davmason davmason requested a review from a team June 14, 2023 09:38
@davmason davmason self-assigned this Jun 14, 2023
@@ -213,9 +213,6 @@ struct PerfJitDumpState
enabled = true;

Copy link
Member

Choose a reason for hiding this comment

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

The one in line 179 is now unnecessary (though it's a no-op.

@davmason davmason merged commit 3c2ebd5 into dotnet:main Jun 15, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jul 15, 2023
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.

2 participants