diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-07-17 12:11:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-17 12:11:33 -0700 |
commit | eaf111b08dce413738f9133748e302248359c5e9 (patch) | |
tree | fda6fb83f6c080590e30a4f6108e8344744a27b3 /src/zap/zapper.cpp | |
parent | 83ee28ed75a94e6fd4e1c81c27fc9acf947d92a3 (diff) | |
download | coreclr-eaf111b08dce413738f9133748e302248359c5e9.tar.gz coreclr-eaf111b08dce413738f9133748e302248359c5e9.tar.bz2 coreclr-eaf111b08dce413738f9133748e302248359c5e9.zip |
Add pooling for JIT scratch memory (#18924)
Fixes #3408
Diffstat (limited to 'src/zap/zapper.cpp')
-rw-r--r-- | src/zap/zapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zap/zapper.cpp b/src/zap/zapper.cpp index 683805eacf..090b545826 100644 --- a/src/zap/zapper.cpp +++ b/src/zap/zapper.cpp @@ -525,7 +525,7 @@ void Zapper::LoadAndInitializeJITForNgen(LPCWSTR pwzJitName, OUT HINSTANCE* phJi pJitStartup jitStartupFn = (pJitStartup)GetProcAddress(*phJit, "jitStartup"); if (jitStartupFn != nullptr) { - jitStartupFn(JitHost::getJitHost()); + jitStartupFn(m_pEECompileInfo->GetJitHost()); } //get the appropriate compiler interface @@ -599,7 +599,7 @@ void Zapper::InitEE(BOOL fForceDebug, BOOL fForceProfile, BOOL fForceInstrument) // #ifdef FEATURE_MERGE_JIT_AND_ENGINE - jitStartup(JitHost::getJitHost()); + jitStartup(m_pEECompileInfo->GetJitHost()); m_pJitCompiler = getJit(); if (m_pJitCompiler == NULL) |