Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 87d8e03a1a4bb6148da43a427a0cdbc4ed9252d7
https://github.com/WebKit/WebKit/commit/87d8e03a1a4bb6148da43a427a0cdbc4ed9252d7
Author: Yijia Huang <[email protected]>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M Source/JavaScriptCore/bytecode/CodeBlock.cpp
M Source/JavaScriptCore/runtime/Options.cpp
M Source/JavaScriptCore/runtime/OptionsList.h
Log Message:
-----------
[JSC] Tune quick DFG tier-up threshold with relaxed profile coverage
requirements
https://bugs.webkit.org/show_bug.cgi?id=309081
rdar://171634813
Reviewed by Yusuke Suzuki.
For functions marked as quick DFG tier-up (previously compiled to DFG
without speculation failures), reduce the threshold for proceeding
through shouldOptimizeNowFromBaseline() by scaling both the required
profile liveness rate and fullness rate by
relaxedProfileCoverageFactorForQuickDFGTierUp.
This complements the existing threshold reduction in optimizeAfterWarmUp()
and addresses the case where functions reach the compilation check early
but then stall in delay cycles waiting for profiles to fill. Since these
functions have already proven stable through a prior DFG installation,
demanding full profile coverage before recompiling is overly conservative.
Note that only macOS is affected by this change.
Canonical link: https://commits.webkit.org/308578@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications