[webkit-changes] [WebKit/WebKit] 2a8ef0: Fix the SamplingProfiler to work when JIT is disab...

Commit Queue noreply at github.com
Mon Jul 3 11:21:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2a8ef0e4c8938d564850f145ff4c5905a83f9840
      https://github.com/WebKit/WebKit/commit/2a8ef0e4c8938d564850f145ff4c5905a83f9840
  Author: Mark Lam <mark.lam at apple.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M Source/JavaScriptCore/runtime/SamplingProfiler.cpp

  Log Message:
  -----------
  Fix the SamplingProfiler to work when JIT is disabled.
https://bugs.webkit.org/show_bug.cgi?id=258812
rdar://111691907

Reviewed by Justin Michaud.

It was making an assumption that the ExecutableAllocator is always available.  This is not
true when the JIT is disabled.

* Source/JavaScriptCore/runtime/SamplingProfiler.cpp:
(JSC::SamplingProfiler::takeSample):

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




More information about the webkit-changes mailing list