summaryrefslogtreecommitdiff
path: root/src/vm/eeconfig.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-01-23 19:56:42 -0800
committerGitHub <noreply@github.com>2018-01-23 19:56:42 -0800
commit35da2c8a07d7aef8bd4c874b81241bab52af83ce (patch)
treeef89c7f59545850160ec11f1654dbf844304b7c2 /src/vm/eeconfig.cpp
parent6ab0b05bea586102c397cb78f1bac2087eab7b19 (diff)
downloadcoreclr-35da2c8a07d7aef8bd4c874b81241bab52af83ce.tar.gz
coreclr-35da2c8a07d7aef8bd4c874b81241bab52af83ce.tar.bz2
coreclr-35da2c8a07d7aef8bd4c874b81241bab52af83ce.zip
Delete dead code (#15990)
Diffstat (limited to 'src/vm/eeconfig.cpp')
-rw-r--r--src/vm/eeconfig.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/vm/eeconfig.cpp b/src/vm/eeconfig.cpp
index a54a6d559b..95a7133bb9 100644
--- a/src/vm/eeconfig.cpp
+++ b/src/vm/eeconfig.cpp
@@ -329,8 +329,6 @@ HRESULT EEConfig::Init()
dwADURetryCount=1000;
#ifdef _DEBUG
- fAppDomainLeaks = DEFAULT_APP_DOMAIN_LEAKS;
-
// interop logging
m_pTraceIUnknown = NULL;
m_TraceWrapper = 0;
@@ -759,10 +757,6 @@ HRESULT EEConfig::sync()
if (IsCompilationProcess())
iGCconcurrent = FALSE;
-#ifdef _DEBUG
- fAppDomainLeaks = GetConfigDWORD_DontUse_(CLRConfig::INTERNAL_AppDomainAgilityChecked, DEFAULT_APP_DOMAIN_LEAKS) == 1;
-#endif
-
#if defined(STRESS_HEAP) || defined(_DEBUG)
iGCStress = CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_GCStress);
#endif
@@ -785,11 +779,6 @@ HRESULT EEConfig::sync()
{
LPWSTR pszGCStressExe = NULL;
-#ifdef _DEBUG
- // If GCStress is turned on, then perform AppDomain agility checks in debug builds
- fAppDomainLeaks = 1;
-#endif
-
IfFailRet(CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_RestrictedGCStressExe, &pszGCStressExe));
if (pszGCStressExe != NULL)
{