-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Handle Counter Polling Interval of 0 #53836
Handle Counter Polling Interval of 0 #53836
Conversation
* default internal state to DateTime.MaxValue * re-check IsEnabled after not holding lock * add test for setting interval to 0
Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti Issue DetailsFixes #53564
This will need to be backported to 3.1 and 5.0. CC @tommcdon
|
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.
I'm hoping we can go even more targetted, suggestion inline : )
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.
This version LGTM
Looks like I managed to repro/investigate/fix this issue when testing on iOS in parallel to this fix/investigation, #53887. |
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/CounterGroup.cs
Outdated
Show resolved
Hide resolved
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.
LGTM
\backport to release/5.0 |
/backport to release/5.0 |
Started backporting to release/5.0: https://github.com/dotnet/runtime/actions/runs/926712176 |
* Backport dotnet/runtime#53836 * Fix test build * update test
Fixes #53564
This will need to be backported to 3.1 and 5.0.
CC @tommcdon