Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f68c66458d7e3043052a2852962419418ff02c52
https://github.com/WebKit/WebKit/commit/f68c66458d7e3043052a2852962419418ff02c52
Author: Sihui Liu <[email protected]>
Date: 2023-08-04 (Fri, 04 Aug 2023)
Changed paths:
M Source/WebKit/UIProcess/WebProcessPool.cpp
Log Message:
-----------
Make web process run at foreground priority during initialization on macOS
https://bugs.webkit.org/show_bug.cgi?id=259807
rdar://113364552
Reviewed by Chris Dumez.
We've seen many reports about web processes becoming unresponsive during
initialization (rdar://111051922). This could
be related to adopting RunningBoard assertion on macOS, which enables web
processes that don't hold a visible view to
run at a lower priority than UI process. This can lead web process to spend
more time in initialization. A full fix
would be not generating reports when WebKit explicitly sets low priority for
web process. But before that, let's try
confirming the cause by simply bumping process priority during initialization.
* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::initializeNewWebProcess):
Canonical link: https://commits.webkit.org/266592@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes