-
Notifications
You must be signed in to change notification settings - Fork 151
Fix Object disposed exception #7866
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
base: master
Are you sure you want to change the base?
Conversation
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (7866) and master. ✅ No regressions detected - check the details below Full Metrics ComparisonFakeDbCommand
HttpMessageHandler
Comparison explanationExecution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:
Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard. Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph). Duration chartsFakeDbCommand (.NET Framework 4.8)gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7866) - mean (75ms) : 70, 81
master - mean (75ms) : 69, 81
section Bailout
This PR (7866) - mean (79ms) : 74, 84
master - mean (79ms) : 74, 83
section CallTarget+Inlining+NGEN
This PR (7866) - mean (1,071ms) : 996, 1146
master - mean (1,057ms) : 980, 1134
FakeDbCommand (.NET Core 3.1)gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7866) - mean (118ms) : 109, 126
master - mean (117ms) : 110, 125
section Bailout
This PR (7866) - mean (120ms) : 113, 127
master - mean (119ms) : 111, 126
section CallTarget+Inlining+NGEN
This PR (7866) - mean (758ms) : 722, 795
master - mean (755ms) : 711, 799
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7866) - mean (106ms) : 100, 113
master - mean (104ms) : 98, 110
section Bailout
This PR (7866) - mean (108ms) : 99, 116
master - mean (106ms) : 100, 112
section CallTarget+Inlining+NGEN
This PR (7866) - mean (708ms) : 666, 749
master - mean (706ms) : 661, 751
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7866) - mean (105ms) : 98, 112
master - mean (102ms) : 95, 109
section Bailout
This PR (7866) - mean (105ms) : 100, 110
master - mean (106ms) : 99, 112
section CallTarget+Inlining+NGEN
This PR (7866) - mean (680ms) : 652, 708
master - mean (678ms) : 653, 703
HttpMessageHandler (.NET Framework 4.8)gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7866) - mean (194ms) : 189, 199
master - mean (193ms) : 189, 197
section Bailout
This PR (7866) - mean (196ms) : 194, 198
master - mean (197ms) : 194, 200
section CallTarget+Inlining+NGEN
This PR (7866) - mean (1,117ms) : 1039, 1196
master - mean (1,110ms) : 1038, 1183
HttpMessageHandler (.NET Core 3.1)gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7866) - mean (277ms) : 272, 282
master - mean (277ms) : 272, 281
section Bailout
This PR (7866) - mean (278ms) : 273, 284
master - mean (278ms) : 274, 282
section CallTarget+Inlining+NGEN
This PR (7866) - mean (909ms) : 853, 965
master - mean (909ms) : 848, 969
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7866) - mean (270ms) : 265, 276
master - mean (270ms) : 266, 275
section Bailout
This PR (7866) - mean (270ms) : 267, 273
master - mean (270ms) : 267, 273
section CallTarget+Inlining+NGEN
This PR (7866) - mean (885ms) : 829, 942
master - mean (889ms) : 832, 946
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7866) - mean (270ms) : 265, 275
master - mean (270ms) : 263, 278
section Bailout
This PR (7866) - mean (270ms) : 266, 274
master - mean (271ms) : 264, 278
section CallTarget+Inlining+NGEN
This PR (7866) - mean (827ms) : 808, 845
master - mean (828ms) : 809, 847
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Summary of changes
We found the following error in the CI:
This PR fixes a race condition in
ProbeStatusPollerthat caused flaky test failures when the poller is disposed while a timer callback is executing.The problem is:
The fix ensures proper synchronization between timer callbacks and disposal:
_lockerbefore calling pause/resume operationsDispose()now also acquires_lockerbefore setting_disposedand disposing the timer_disposedbefore attempting to use the timerReason for change
Implementation details
Test coverage
Other details