summaryrefslogtreecommitdiff
path: root/src/gc
diff options
context:
space:
mode:
authorSean Gillespie <segilles@microsoft.com>2017-10-30 17:18:55 -0700
committerJan Kotas <jkotas@microsoft.com>2017-10-30 17:18:55 -0700
commit558f8e99680ab5b6ea9d4796236e12439363657f (patch)
tree114c5950b7159ff6993fd3f959685fac0743ff0a /src/gc
parent2d3d03bd777278c47d0026062315700fa1e8c4d0 (diff)
downloadcoreclr-558f8e99680ab5b6ea9d4796236e12439363657f.tar.gz
coreclr-558f8e99680ab5b6ea9d4796236e12439363657f.tar.bz2
coreclr-558f8e99680ab5b6ea9d4796236e12439363657f.zip
[Local GC] Fix an issue where the size of ScanContext differs between EE and GC (#14747)
Diffstat (limited to 'src/gc')
-rw-r--r--src/gc/gcinterface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gc/gcinterface.h b/src/gc/gcinterface.h
index ef5c896667..4a35d30f88 100644
--- a/src/gc/gcinterface.h
+++ b/src/gc/gcinterface.h
@@ -837,15 +837,21 @@ struct ScanContext
bool concurrent; //TRUE: concurrent scanning
#if CHECK_APP_DOMAIN_LEAKS || defined (FEATURE_APPDOMAIN_RESOURCE_MONITORING) || defined (DACCESS_COMPILE)
AppDomain *pCurrentDomain;
+#else
+ void* _unused1;
#endif //CHECK_APP_DOMAIN_LEAKS || FEATURE_APPDOMAIN_RESOURCE_MONITORING || DACCESS_COMPILE
#ifndef FEATURE_REDHAWK
#if defined(GC_PROFILING) || defined (DACCESS_COMPILE)
MethodDesc *pMD;
+#else
+ void* _unused2;
#endif //GC_PROFILING || DACCESS_COMPILE
#endif // FEATURE_REDHAWK
#if defined(GC_PROFILING) || defined(FEATURE_EVENT_TRACE)
EtwGCRootKind dwEtwRootKind;
+#else
+ int _unused3;
#endif // GC_PROFILING || FEATURE_EVENT_TRACE
ScanContext()