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 spurious context clear when thread detached from wallclock profiling #6836

Merged
merged 1 commit into from Mar 22, 2024

Conversation

richardstartin
Copy link
Member

What Does This Do

#6261 introduced a regression by conflating detachment from wallclock profiling with clearing profiling context, but sometimes we have to detach the current thread to avoid signalling it when it goes off CPU in certain states (e.g. to workaround a JDK bug where interrupted socket connects do not reduce the timeout before resuming) but the current thread should retain its context for all purposes.

Motivation

Additional Notes

Jira ticket: [PROJ-IDENT]

@richardstartin richardstartin requested a review from a team as a code owner March 22, 2024 17:48
@richardstartin richardstartin merged commit b856443 into master Mar 22, 2024
80 of 81 checks passed
@richardstartin richardstartin deleted the rgs/fix-detach branch March 22, 2024 18:24
@github-actions github-actions bot added this to the 1.32.0 milestone Mar 22, 2024
@PerfectSlayer PerfectSlayer changed the title fix spurious context clear when thread detached from wallclock profiling Fix spurious context clear when thread detached from wallclock profiling Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants