Skip to content

Commit 486d253

Browse files
authored
Fix profiler output for EventCache Append_Node (#2779)
***NO_CI***
1 parent ab2abad commit 486d253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CLR/Core/Cache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ void CLR_RT_EventCache::Append_Node(CLR_RT_HeapBlock *node)
449449
lst.m_blocks.LinkAtBack(ptr);
450450

451451
#if defined(NANOCLR_PROFILE_NEW_ALLOCATIONS)
452-
g_CLR_PRF_Profiler.TrackObjectDeletion(node);
452+
g_CLR_PRF_Profiler.TrackObjectCreation(node);
453453
#endif
454454
}
455455

0 commit comments

Comments
 (0)