Fix AllocationTick_V3 depending on _V2 to be enabled (#14338)
authorTom Deseyn <tom.deseyn@gmail.com>
Tue, 10 Oct 2017 22:13:05 +0000 (00:13 +0200)
committerMaoni Stephens <Maoni0@users.noreply.github.com>
Tue, 10 Oct 2017 22:13:05 +0000 (15:13 -0700)
src/gc/gc.cpp

index ce85409..8cee415 100644 (file)
@@ -13237,7 +13237,7 @@ int gc_heap::try_allocate_more_space (alloc_context* acontext, size_t size,
             // Unfortunately some of the ETW macros do not check whether the ETW feature is enabled.
             // The ones that do are much less efficient.
 #if defined(FEATURE_EVENT_TRACE)
-            if (EventEnabledGCAllocationTick_V2())
+            if (EventEnabledGCAllocationTick_V3())
             {
                 fire_etw_allocation_event (etw_allocation_running_amount[etw_allocation_index], gen_number, acontext->alloc_ptr);
             }