Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f92b82d07c51c38c2cd46d9f7420f54f1901c695
      
https://github.com/WebKit/WebKit/commit/f92b82d07c51c38c2cd46d9f7420f54f1901c695
  Author: Yijia Huang <[email protected]>
  Date:   2026-03-13 (Fri, 13 Mar 2026)

  Changed paths:
    M Source/JavaScriptCore/bytecode/CodeBlock.cpp
    M Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h

  Log Message:
  -----------
  [JSC] Allow quick DFG/FTL tier-up recovery after reinstall
https://bugs.webkit.org/show_bug.cgi?id=309687
rdar://172290040

Reviewed by Dan Hecht.

Quick tier-up reduces the optimization threshold for functions that have
previously run JIT code successfully, letting them re-tier faster after
jettison.

Previously didInstallDFGCode() and didInstallFTLCode() were one-shot:
once the flag was cleared by a jettison, subsequent reinstalls could not
recover it. This patch allows recovery on reinstall.

A jettison is a profiling event — the speculation failure reveals type
information that baseline JIT captures, and a re-compile against those
richer profiles is likely more stable. Penalizing it permanently was
counterproductive.

Canonical link: https://commits.webkit.org/309230@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to