summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Falk <noahfalk@users.noreply.github.com>2018-05-01 16:43:03 -0700
committerGitHub <noreply@github.com>2018-05-01 16:43:03 -0700
commit18c14344160ed303027e1d3bf0b5ffe33dbe53f3 (patch)
treeb82fdd043efb1e256644919e59a3fd263b6c766f /src
parent4875c6ec578794d637a5dd250d738540df3ca207 (diff)
downloadcoreclr-18c14344160ed303027e1d3bf0b5ffe33dbe53f3.tar.gz
coreclr-18c14344160ed303027e1d3bf0b5ffe33dbe53f3.tar.bz2
coreclr-18c14344160ed303027e1d3bf0b5ffe33dbe53f3.zip
Add runtimeconfig.json support for tiered compilation (#17839)
Diffstat (limited to 'src')
-rw-r--r--src/vm/eeconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/eeconfig.cpp b/src/vm/eeconfig.cpp
index 7782e69565..d9e7a06b83 100644
--- a/src/vm/eeconfig.cpp
+++ b/src/vm/eeconfig.cpp
@@ -1240,7 +1240,7 @@ HRESULT EEConfig::sync()
dwSleepOnExit = CLRConfig::GetConfigValue(CLRConfig::UNSUPPORTED_SleepOnExit);
#if defined(FEATURE_TIERED_COMPILATION)
- fTieredCompilation = CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_TieredCompilation) != 0 ||
+ fTieredCompilation = Configuration::GetKnobBooleanValue(W("System.Runtime.TieredCompilation"), CLRConfig::EXTERNAL_TieredCompilation) ||
//this older name is deprecated, but still accepted for a time. Preserving it is a very small overhead not to needlessly break things.
CLRConfig::GetConfigValue(CLRConfig::UNSUPPORTED_LEGACY_TieredCompilation) != 0;