summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Au <andrewau@microsoft.com>2019-05-10 09:30:23 -0700
committerAndrew Au <cshung@gmail.com>2019-05-10 10:07:25 -0700
commitc746a224d029f84556298893e8f2789df4bc3dda (patch)
tree8a55223c52d1dc6423121b261ff747844bd18c74
parent5e35e287fbdf4c8b3eef83df39fa0e1897a33f06 (diff)
downloadcoreclr-c746a224d029f84556298893e8f2789df4bc3dda.tar.gz
coreclr-c746a224d029f84556298893e8f2789df4bc3dda.tar.bz2
coreclr-c746a224d029f84556298893e8f2789df4bc3dda.zip
Remove obsolete comments
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs
index d20abe8ced..c60ba36886 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/CounterGroup.cs
@@ -58,11 +58,6 @@ namespace System.Diagnostics.Tracing
if (e.Arguments.TryGetValue("EventCounterIntervalSec", out valueStr) && float.TryParse(valueStr, out value))
{
- // Recursion through EventSource callbacks possible. When we enable the timer
- // we synchonously issue a EventSource.Write event, which in turn can call back
- // to user code (in an EventListener) while holding this lock. This is dangerous
- // because it means this code might inadvertantly participate in a lock loop.
- // The scenario seems very unlikely so we ignore that problem for now.
lock (this) // Lock the CounterGroup
{
EnableTimer(value);