projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc5cb03
)
Fix AllocationTick_V3 depending on _V2 to be enabled (#14338)
author
Tom Deseyn
<tom.deseyn@gmail.com>
Tue, 10 Oct 2017 22:13:05 +0000
(
00:13
+0200)
committer
Maoni Stephens
<Maoni0@users.noreply.github.com>
Tue, 10 Oct 2017 22:13:05 +0000
(15:13 -0700)
src/gc/gc.cpp
patch
|
blob
|
history
diff --git
a/src/gc/gc.cpp
b/src/gc/gc.cpp
index
ce85409
..
8cee415
100644
(file)
--- 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_V
2
())
+ if (EventEnabledGCAllocationTick_V
3
())
{
fire_etw_allocation_event (etw_allocation_running_amount[etw_allocation_index], gen_number, acontext->alloc_ptr);
}