Skip to content

Commit bd4d280

Browse files
authored
Fix output of heap allocation info (#3072)
***NO_CI***
1 parent fdbaf63 commit bd4d280

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/CLR/Core/Execution.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//
1+
//
22
// Copyright (c) .NET Foundation and Contributors
33
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
44
// See LICENSE file in the project root for full license information.
@@ -181,8 +181,8 @@ HRESULT CLR_RT_ExecutionEngine::AllocateHeaps()
181181
CLR_Debug::Printf("Heap Cluster information\r\n");
182182

183183
#ifdef _WIN64
184-
CLR_Debug::Printf("Start: 0x%" PRIx64 "\r\n", (uint64_t)heapFirstFree);
185-
CLR_Debug::Printf("Free: 0x%" PRIx64 "\r\n", (uint64_t)heapFree);
184+
CLR_Debug::Printf("Start: 0x%" PRIx64 "\r\n", heapFirstFree);
185+
CLR_Debug::Printf("Free: 0x%" PRIx64 "\r\n", heapFree);
186186
CLR_Debug::Printf("Block size: %d\r\n", sizeof(struct CLR_RT_HeapBlock));
187187
#else
188188
CLR_Debug::Printf("Start: %08x\r\n", (size_t)heapFirstFree);
@@ -421,6 +421,7 @@ CLR_UINT32 CLR_RT_ExecutionEngine::PerformGarbageCollection()
421421
void CLR_RT_ExecutionEngine::PerformHeapCompaction()
422422
{
423423
NATIVE_PROFILE_CLR_CORE();
424+
424425
if (CLR_EE_DBG_IS(NoCompaction))
425426
return;
426427

0 commit comments

Comments
 (0)