You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ad96437
Browse filesBrowse the repository at this point in the historyBrowse files
[JSC] LLInt should not poll the JIT worklist on every execution while a baseline compile is in flight
https://bugs.webkit.org/show_bug.cgi?id=327603
rdar://190060754
Reviewed by Vassili Bykov.
When LLInt execution counter crossed the threshold and enqueueing
Baseline JIT compilation, we keep this counter crossed. As a result, we
end up running this slow path every time until Baseline JIT code is
installed. If Baseline JIT code takes long time to be compiled, it makes
LLInt much slower.
We follow to what DFG is doing for Baseline JIT. We reset the counter,
and we make it fired when Baseline JIT code is installed.
* Source/JavaScriptCore/bytecode/CodeBlock.cpp:
(JSC::CodeBlock::checkIfJITThresholdReached):
* Source/JavaScriptCore/bytecode/CodeBlock.h:
(JSC::CodeBlock::checkIfJITThresholdReached): Deleted.
* Source/JavaScriptCore/dfg/DFGPlan.h:
* Source/JavaScriptCore/jit/BaselineJITPlan.cpp:
(JSC::BaselineJITPlan::notifyReady):
(JSC::BaselineJITPlan::finalize):
* Source/JavaScriptCore/jit/BaselineJITPlan.h:
* Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:
(JSC::LLInt::jitCompileAndSetHeuristics):
Canonical link: https://commits.webkit.org/323860@main
0 commit comments