-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Remove unused PulseAllHelper method #121132
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
Conversation
Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the unused PulseAllHelper static method from the CoreCLR VM, cleaning up legacy Monitor implementation code. The method performed monitor operations on exposed thread objects but is no longer invoked anywhere in the codebase.
Key changes:
- Deleted the 26-line
PulseAllHelperfunction definition - Removed two call sites: one after thread completion in
KickOffThreadand one on startup failure inThreadNative_Start
|
Tagging subscribers to this area: @mangod9 |
|
/azp run runtime-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/ba-g infrastructure timeouts |
The
PulseAllHelpermethod insrc/coreclr/vm/comsynchronizable.cppis an unused leftover from legacy Monitor implementation code. It performed monitor operations on exposed thread objects but is no longer invoked in any documented or required code path.Changes
PulseAllHelperstatic function (26 lines)KickOffThreadafter thread completionThreadNative_Starton thread startup failureRelated to #118371 which modernizes Monitor implementation.
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.