diff options
author | Jan Kotas <jkotas@microsoft.com> | 2019-02-21 18:16:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 18:16:16 -0800 |
commit | bd84f468ac3f82847669d49614d01eba8dd2a9a0 (patch) | |
tree | 6428f3aa8b5921509e1f2c7d30f70fd293c45381 | |
parent | 521e73c0031c84297088381688d464ce619156a9 (diff) | |
download | coreclr-bd84f468ac3f82847669d49614d01eba8dd2a9a0.tar.gz coreclr-bd84f468ac3f82847669d49614d01eba8dd2a9a0.tar.bz2 coreclr-bd84f468ac3f82847669d49614d01eba8dd2a9a0.zip |
Cleanup unnecessary COUNTER_ONLY (#22759)
-rw-r--r-- | src/gc/gcee.cpp | 2 | ||||
-rw-r--r-- | src/gc/handletable.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gc/gcee.cpp b/src/gc/gcee.cpp index 8706ae7654..bd5a8f6154 100644 --- a/src/gc/gcee.cpp +++ b/src/gc/gcee.cpp @@ -71,7 +71,7 @@ void GCHeap::UpdatePreGCCounters() #endif //_PREFAST_ if (hp->settings.reason == reason_induced IN_STRESS_HEAP( && !hp->settings.stress_induced)) { - COUNTER_ONLY(GetPerfCounters().m_GC.cInducedGCs++); + GetPerfCounters().m_GC.cInducedGCs++; } GetPerfCounters().m_Security.timeRTchecks = 0; diff --git a/src/gc/handletable.cpp b/src/gc/handletable.cpp index 2480a5618d..274c6ff0df 100644 --- a/src/gc/handletable.cpp +++ b/src/gc/handletable.cpp @@ -186,7 +186,7 @@ void HndDestroyHandleTable(HHANDLETABLE hTable) #ifdef ENABLE_PERF_COUNTERS // decrement handle count by number of handles in this table - COUNTER_ONLY(GetPerfCounters().m_GC.cHandles -= HndCountHandles(hTable)); + GetPerfCounters().m_GC.cHandles -= HndCountHandles(hTable); #endif // We are going to free the memory for this HandleTable. |