summaryrefslogtreecommitdiff
path: root/src/coreclr
diff options
context:
space:
mode:
authorSung Yoon Whang <suwhang@microsoft.com>2018-04-30 14:59:14 -0700
committerGitHub <noreply@github.com>2018-04-30 14:59:14 -0700
commit829ca543d5c42e6e4782498f5971ea3325e25c32 (patch)
treeeb923ff402edb78c4b5c4d8aae288152f78bb2f9 /src/coreclr
parent6adad07ffb96a75e89ed9f50fbdeab2c7cf3e041 (diff)
downloadcoreclr-829ca543d5c42e6e4782498f5971ea3325e25c32.tar.gz
coreclr-829ca543d5c42e6e4782498f5971ea3325e25c32.tar.bz2
coreclr-829ca543d5c42e6e4782498f5971ea3325e25c32.zip
GC env vars (#17837)
* update server gc export for runtest.sh * remove CORECLR_SERVER_GC * Change CORECLR_CONCURRENT_GC to COMPlus_gcConcurrent as well * Remove it from coreruncommon.cpp
Diffstat (limited to 'src/coreclr')
-rw-r--r--src/coreclr/hosts/corerun/corerun.cpp4
-rw-r--r--src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/coreclr/hosts/corerun/corerun.cpp b/src/coreclr/hosts/corerun/corerun.cpp
index 55875c2713..47ec363105 100644
--- a/src/coreclr/hosts/corerun/corerun.cpp
+++ b/src/coreclr/hosts/corerun/corerun.cpp
@@ -19,11 +19,11 @@
// Environment variable for setting whether or not to use Server GC.
// Off by default.
-static const wchar_t *serverGcVar = W("CORECLR_SERVER_GC");
+static const wchar_t *serverGcVar = W("COMPlus_gcServer");
// Environment variable for setting whether or not to use Concurrent GC.
// On by default.
-static const wchar_t *concurrentGcVar = W("CORECLR_CONCURRENT_GC");
+static const wchar_t *concurrentGcVar = W("COMPlus_gcConcurrent");
// The name of the CoreCLR native runtime DLL.
static const wchar_t *coreCLRDll = W("CoreCLR.dll");
diff --git a/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp b/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp
index f97f262993..eb2333c8c6 100644
--- a/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp
+++ b/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp
@@ -33,7 +33,7 @@
// Name of the environment variable controlling server GC.
// If set to 1, server GC is enabled on startup. If 0, server GC is
// disabled. Server GC is off by default.
-static const char* serverGcVar = "CORECLR_SERVER_GC";
+static const char* serverGcVar = "COMPlus_gcServer";
// Name of environment variable to control "System.Globalization.Invariant"
// Set to 1 for Globalization Invariant mode to be true. Default is false.