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

[EventPipe] Block eventpipe delete provider for pending callbacks #106156

Merged
merged 3 commits into from
Aug 12, 2024

Conversation

mdh1418
Copy link
Member

@mdh1418 mdh1418 commented Aug 8, 2024

Fixes #106113

#106040 previously only blocked EventPipeEventProvider's Dispose for the EventPipe Provider's deferred deletion scenarios. This PR extends the blocking behavior for non deferred deletion scenarios as well, so EventPipeEventProvider.Dispose/Unregister will always be blocked by in flight callbacks.

@mdh1418
Copy link
Member Author

mdh1418 commented Aug 8, 2024

/azp run runtime-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mdh1418
Copy link
Member Author

mdh1418 commented Aug 8, 2024

No eventsourceerror in first coreclr outerloop run

@mdh1418
Copy link
Member Author

mdh1418 commented Aug 8, 2024

/azp run runtime-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mdh1418
Copy link
Member Author

mdh1418 commented Aug 9, 2024

/azp run runtime-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

src/native/eventpipe/ep.c Outdated Show resolved Hide resolved
src/native/eventpipe/ep.c Outdated Show resolved Hide resolved
@mdh1418
Copy link
Member Author

mdh1418 commented Aug 9, 2024

/azp run runtime-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@noahfalk noahfalk left a comment

Choose a reason for hiding this comment

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

👍

@mdh1418 mdh1418 merged commit c4624d0 into dotnet:main Aug 12, 2024
175 of 182 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 12, 2024
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/eventsourceerror/eventsourceerror/eventsourceerror.cmd
2 participants