[webkit-changes] [WebKit/WebKit] a061ab: Regression(255828 at main) App launch time has slight...

Chris Dumez noreply at github.com
Mon Feb 27 15:56:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a061abebfe51202cf24417a6bedf4d4916357b71
      https://github.com/WebKit/WebKit/commit/a061abebfe51202cf24417a6bedf4d4916357b71
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
    M Source/WebKit/UIProcess/WebProcessPool.h

  Log Message:
  -----------
  Regression(255828 at main) App launch time has slightly regressed
https://bugs.webkit.org/show_bug.cgi?id=252993
rdar://105236601

Reviewed by Michael Saboff.

Move logic to determine the value of s_shouldCrashWhenCreatingWebProcess off
the main thread in order to address the app launch time regression.

* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::initializeShouldCrashWhenCreatingWebProcess):
(WebKit::WebProcessPool::platformInitialize):
(WebKit::determineIfWeShouldCrashWhenCreatingWebProcess): Deleted.
* Source/WebKit/UIProcess/WebProcessPool.h:

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




More information about the webkit-changes mailing list