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:
authorAndrew Au <andrewau@microsoft.com>2017-03-16 03:37:23 +0300
committerAndrew Au <andrewau@microsoft.com>2017-03-16 03:37:23 +0300
commit37778ec77a542749b45651d5c9f57b46b604f1e8 (patch)
treefba7f4c18bde14940d63bac33fb966ccdf2d8bf5 /src/Native/Runtime/gcrhscan.cpp
parent3ddb35b8a2715496eaaa1135cd34d6023e1f3cc5 (diff)
Debugger Support
[tfs-changeset: 1650991]
Diffstat (limited to 'src/Native/Runtime/gcrhscan.cpp')
-rw-r--r--src/Native/Runtime/gcrhscan.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Native/Runtime/gcrhscan.cpp b/src/Native/Runtime/gcrhscan.cpp
index c444c73b7..1216a99bc 100644
--- a/src/Native/Runtime/gcrhscan.cpp
+++ b/src/Native/Runtime/gcrhscan.cpp
@@ -32,6 +32,8 @@
#include "threadstore.inl"
#include "thread.inl"
+#include "DebuggerHook.h"
+
#ifndef DACCESS_COMPILE
void EnumAllStaticGCRefs(EnumGcRefCallbackFunc * fn, EnumGcRefScanContext * sc)
@@ -45,6 +47,7 @@ void EnumAllStaticGCRefs(EnumGcRefCallbackFunc * fn, EnumGcRefScanContext * sc)
void GCToEEInterface::GcScanRoots(EnumGcRefCallbackFunc * fn, int condemned, int max_gen, EnumGcRefScanContext * sc)
{
+ DebuggerHook::OnBeforeGcCollection();
// STRESS_LOG1(LF_GCROOTS, LL_INFO10, "GCScan: Phase = %s\n", sc->promotion ? "promote" : "relocate");
FOREACH_THREAD(pThread)