summaryrefslogtreecommitdiff
path: root/src/vm/ceemain.cpp
diff options
context:
space:
mode:
authorSean Gillespie <segilles@microsoft.com>2017-05-30 17:20:16 -0400
committerSean Gillespie <segilles@microsoft.com>2017-06-01 10:22:06 -0700
commit0834425813497593ceda8bb0ae12dcc463011d7c (patch)
treea3bf07244079e7f8bb07734fa09b7ddabe564ca6 /src/vm/ceemain.cpp
parenteb12b78102f2b54dc082caabcd1b59b42166509b (diff)
downloadcoreclr-0834425813497593ceda8bb0ae12dcc463011d7c.tar.gz
coreclr-0834425813497593ceda8bb0ae12dcc463011d7c.tar.bz2
coreclr-0834425813497593ceda8bb0ae12dcc463011d7c.zip
[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
Diffstat (limited to 'src/vm/ceemain.cpp')
-rw-r--r--src/vm/ceemain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/ceemain.cpp b/src/vm/ceemain.cpp
index 617b022516..ec16bdd153 100644
--- a/src/vm/ceemain.cpp
+++ b/src/vm/ceemain.cpp
@@ -478,8 +478,8 @@ void InitializeStartupFlags()
g_IGCconcurrent = 0;
- InitializeHeapType((flags & STARTUP_SERVER_GC) != 0);
g_heap_type = (flags & STARTUP_SERVER_GC) == 0 ? GC_HEAP_WKS : GC_HEAP_SVR;
+ g_IGCHoardVM = (flags & STARTUP_HOARD_GC_VM) == 0 ? 0 : 1;
}
#endif // CROSSGEN_COMPILE