From 0834425813497593ceda8bb0ae12dcc463011d7c Mon Sep 17 00:00:00 2001 From: Sean Gillespie Date: Tue, 30 May 2017 17:20:16 -0400 Subject: [Local GC] Obtaining configuration information (#11379) * [Local GC] Skeleton for GC configuration * Initial tweaks after design feedback: 1) Use string keys instead of enums. Upon receiving a string key, the EE looks at it and, if it's something that comes from startup flags, responds using the startup flag information. Otherwise, it forwards the string onto CLRConfig. 2) Add a mechanism for getting string configuration values from the EE. This includes adding a RAII wrapper around strings so that they are freed correctly. * Remove uses of g_pConfig from the GC and replace with GCConfig * Use the GCConfig system for the GC log * Fix poorly-named parameter * Add documentation and caching of bool and int configs obtained from the EE * Remove AppDomainLeaks as dead code * Remove GC trace configs as dead code * Repair unix build * Fix an issue where we started the GC in the wrong latency mode * Fix the unix build * Pipe GCRetainVM configuration to the GC * Dead code removal in the GC sample * EEConfig -> GCConfig for heap verification constants in the GC * Populate config information for bools and ints eagerly at startup * Initialize g_theGCToCLR before initializing GCConfig * Propegate HoardVM config to the GC * Fix an incorrect comment --- src/vm/eeconfig.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/vm/eeconfig.cpp') diff --git a/src/vm/eeconfig.cpp b/src/vm/eeconfig.cpp index 2ec6d39cdd..05cdd0aa6c 100644 --- a/src/vm/eeconfig.cpp +++ b/src/vm/eeconfig.cpp @@ -178,14 +178,6 @@ HRESULT EEConfig::Init() iGCHeapVerify = 0; // Heap Verification OFF by default #endif -#ifdef _DEBUG // TRACE_GC - iGCtraceStart = INT_MAX; // Set to huge value so GCtrace is off by default - iGCtraceEnd = INT_MAX; - iGCtraceFac = 0; - iGCprnLvl = DEFAULT_GC_PRN_LVL; - -#endif - #if defined(STRESS_HEAP) || defined(_DEBUG) iGCStress = 0; #endif -- cgit v1.2.3