File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ void SetProfileMode(BOOL fSet);
138
138
139
139
InProcCodeGenAllocators *EnsureForegroundAllocators (PageAllocator * pageAllocator)
140
140
{
141
+ Assert (!JITManager::GetJITManager ()->IsOOPJITEnabled ());
141
142
if (this ->foregroundAllocators == nullptr )
142
143
{
143
144
this ->foregroundAllocators = CreateAllocators (pageAllocator);
@@ -178,7 +179,10 @@ void SetProfileMode(BOOL fSet);
178
179
179
180
virtual void ProcessorThreadSpecificCallBack (PageAllocator * pageAllocator) override
180
181
{
181
- AllocateBackgroundAllocators (pageAllocator);
182
+ if (!JITManager::GetJITManager ()->IsOOPJITEnabled ())
183
+ {
184
+ AllocateBackgroundAllocators (pageAllocator);
185
+ }
182
186
}
183
187
184
188
static ExecutionMode PrejitJitMode (Js::FunctionBody *const functionBody);
You can’t perform that action at this time.
0 commit comments