We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36bde5 commit d2c3c65Copy full SHA for d2c3c65
src/coreclr/vm/codeman.cpp
@@ -3753,7 +3753,9 @@ BOOL InterpreterJitManager::LoadInterpreter()
3753
ICorJitCompiler* newInterpreter = NULL;
3754
m_interpreter = NULL;
3755
3756
-#ifdef FEATURE_STATICALLY_LINKED
+// If both JIT and interpret are available, statically link the JIT. Interpret can be loaded dynamically
3757
+// via config switch for testing purposes.
3758
+#if defined(FEATURE_STATICALLY_LINKED) && !defined(FEATURE_JIT)
3759
newInterpreter = InitializeStaticJIT();
3760
#else // !FEATURE_STATICALLY_LINKED
3761
g_interpreterLoadData.jld_id = JIT_LOAD_INTERPRETER;
0 commit comments