From: Sean Gillespie Date: Tue, 31 Oct 2017 00:18:55 +0000 (-0700) Subject: [Local GC] Fix an issue where the size of ScanContext differs between EE and GC ... X-Git-Tag: accepted/tizen/base/20180629.140029~748 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=558f8e99680ab5b6ea9d4796236e12439363657f;p=platform%2Fupstream%2Fcoreclr.git [Local GC] Fix an issue where the size of ScanContext differs between EE and GC (#14747) --- diff --git a/src/gc/gcinterface.h b/src/gc/gcinterface.h index ef5c896..4a35d30 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()