[webkit-changes] [WebKit/WebKit] abdcd3: [JSC] Polymorphic inlining should get inlining bud...

Yusuke Suzuki noreply at github.com
Tue Dec 17 15:10:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: abdcd38bfa5be1192c78a8247a45ddb63d93ddfa
      https://github.com/WebKit/WebKit/commit/abdcd38bfa5be1192c78a8247a45ddb63d93ddfa
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp

  Log Message:
  -----------
  [JSC] Polymorphic inlining should get inlining budget boosting
https://bugs.webkit.org/show_bug.cgi?id=284777
rdar://141566224

Reviewed by Yijia Huang.

We should a bit boost inlining budget for polymorphic calls so that we
can inline some of tiny functions in one site well. This patch adds some
budget based on # of polymorphic call targets. But we are limiting
inlining budget to the default number for each inlining, and we refill
the decreased budget with adjustment after each inlining.

* Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleInlining):

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



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


More information about the webkit-changes mailing list