summaryrefslogtreecommitdiff
path: root/src/gc/gc.cpp
diff options
context:
space:
mode:
authorTom Deseyn <tom.deseyn@gmail.com>2017-10-11 00:13:05 +0200
committerMaoni Stephens <Maoni0@users.noreply.github.com>2017-10-10 15:13:05 -0700
commita7d801aa30e40c6e01536dd0355199842ee5e4c8 (patch)
tree522ee30cac9c2eba80ac7c5d6a11b046566b92ab /src/gc/gc.cpp
parentfc5cb03e64037b611b0741236d3023bb1cc481ce (diff)
downloadcoreclr-a7d801aa30e40c6e01536dd0355199842ee5e4c8.tar.gz
coreclr-a7d801aa30e40c6e01536dd0355199842ee5e4c8.tar.bz2
coreclr-a7d801aa30e40c6e01536dd0355199842ee5e4c8.zip
Fix AllocationTick_V3 depending on _V2 to be enabled (#14338)
Diffstat (limited to 'src/gc/gc.cpp')
-rw-r--r--src/gc/gc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp
index ce8540939f..8cee415081 100644
--- a/src/gc/gc.cpp
+++ b/src/gc/gc.cpp
@@ -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);
}