Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2017-01-13 23:25:19 +0300
committerdotnet-bot <dotnet-bot@microsoft.com>2017-01-13 23:25:19 +0300
commite5678962aab23ce6bac2ba53185781c4467904be (patch)
treecfc46a7bfbf59d834759026cb47601d94d6b82c5 /src/Native/Runtime/profheapwalkhelper.cpp
parent85dde75bf18711139278b6eeae7641ba1ea001a9 (diff)
This is the internal component of CoreRT#2485 (https://github.com/dotnet/corert/pull/2485), which ports a number of GC changes done within the last month or two from CoreCLR to CoreRT. The only changes to anything in Native/gc are:
1. Move an assert under #ifndef FEATURE_REDHAWK since it only is a useful assert on CoreCLR (https://github.com/dotnet/corert/pull/2485#issuecomment-271975502) 2. Add UNREFERENCED_PARAMETERs to things in gc.cpp and elsewhere that were producing warnings All other changes in Native/gc are directly from CoreCLR without modification. I have validated that I am able to do PerfView GC analysis with these changes (since the CoreCLR changes touched ETW eventing). [tfs-changeset: 1644465]
Diffstat (limited to 'src/Native/Runtime/profheapwalkhelper.cpp')
-rw-r--r--src/Native/Runtime/profheapwalkhelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/profheapwalkhelper.cpp b/src/Native/Runtime/profheapwalkhelper.cpp
index b4dddca18..038e99ee0 100644
--- a/src/Native/Runtime/profheapwalkhelper.cpp
+++ b/src/Native/Runtime/profheapwalkhelper.cpp
@@ -141,7 +141,7 @@ BOOL HeapWalkHelper(Object * pBO, void * pvContext)
//if (pMT->ContainsPointersOrCollectible())
{
// First round through calculates the number of object refs for this class
- GCHeapUtilities::GetGCHeap()->WalkObject(pBO, &CountContainedObjectRef, (void *)&cNumRefs);
+ GCHeapUtilities::GetGCHeap()->DiagWalkObject(pBO, &CountContainedObjectRef, (void *)&cNumRefs);
if (cNumRefs > 0)
{
@@ -166,7 +166,7 @@ BOOL HeapWalkHelper(Object * pBO, void * pvContext)
// Second round saves off all of the ref values
OBJECTREF * pCurObjRef = arrObjRef;
- GCHeapUtilities::GetGCHeap()->WalkObject(pBO, &SaveContainedObjectRef, (void *)&pCurObjRef);
+ GCHeapUtilities::GetGCHeap()->DiagWalkObject(pBO, &SaveContainedObjectRef, (void *)&pCurObjRef);
}
}