[webkit-changes] [WebKit/WebKit] 3604d4: [JSC] Dump liveness / fullness rate of ValueProfil...

Yusuke Suzuki noreply at github.com
Wed Aug 9 09:08:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3604d4d6c245c0eb8a7c5f3fae77acadf31dabe0
      https://github.com/WebKit/WebKit/commit/3604d4d6c245c0eb8a7c5f3fae77acadf31dabe0
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

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

  Log Message:
  -----------
  [JSC] Dump liveness / fullness rate of ValueProfile in bytecode profiler
https://bugs.webkit.org/show_bug.cgi?id=259967
rdar://113609160

Reviewed by Mark Lam.

This patch adds liveness / fullness rate information of ValueProfiles to bytecode profiler
to analyze this information.

* Source/JavaScriptCore/bytecode/CodeBlock.cpp:
(JSC::CodeBlock::shouldOptimizeNowFromBaseline):
(JSC::CodeBlock::shouldOptimizeNow): Deleted.
* Source/JavaScriptCore/bytecode/CodeBlock.h:
* Source/JavaScriptCore/jit/JITOperations.cpp:
(JSC::JSC_DEFINE_JIT_OPERATION):

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




More information about the webkit-changes mailing list