Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9dc3f9d633d9a5237f5e37ce9beb94f0a9a1eb2e
      
https://github.com/WebKit/WebKit/commit/9dc3f9d633d9a5237f5e37ce9beb94f0a9a1eb2e
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M Source/JavaScriptCore/jit/BaselineJITPlan.cpp
    M Source/JavaScriptCore/jit/BaselineJITPlan.h

  Log Message:
  -----------
  [JSC] Allow GC while running Baseline JIT
https://bugs.webkit.org/show_bug.cgi?id=272561
rdar://126305877

Reviewed by Justin Michaud.

Baseline JIT is unlinked. So this should run without interfering with GC.
In this patch, we allow running GC while running Baseline JIT since some of 
Baseline JIT (for mega functions) is really time-consuming.
This patch makes BaselineJITPlan always keep CodeBlock alive by using custom 
isKnownToBeLiveAfterGC and isKnownToBeLiveDuringGC.
As a result, we can just run Baseline JIT without considering much.

* Source/JavaScriptCore/jit/BaselineJITPlan.cpp:
(JSC::BaselineJITPlan::compileInThreadImpl):
(JSC::BaselineJITPlan::isKnownToBeLiveAfterGC):
(JSC::BaselineJITPlan::isKnownToBeLiveDuringGC):
* Source/JavaScriptCore/jit/BaselineJITPlan.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to