Branch: refs/heads/safari-7616.1.6-branch
Home: https://github.com/WebKit/WebKit
Commit: fe549c04ef2e8595d67ba0194b6b7e05fc44131d
https://github.com/WebKit/WebKit/commit/fe549c04ef2e8595d67ba0194b6b7e05fc44131d
Author: Miguel Salinas <[email protected]>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M Source/WebKit/WebProcess/WebProcess.cpp
Log Message:
-----------
Cherry-pick 3e3affb5f89d. rdar://problem/106376732
[macOS] Use cleanup timer when suspending web content process
https://bugs.webkit.org/show_bug.cgi?id=253527
rdar://problem/106376732
Reviewed by Chris Dumez.
We should use the m_nonVisibleProcessMemoryCleanupTimer to cleanup
unnecessary memory on suspension instead of immediately cleaning up. This fixes
a plt regression for warm runs where we make heavy use of the WebProcess cache.
We should also consider doing this on iOS.
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::prepareToSuspend):
Canonical link: https://commits.webkit.org/261354@main
Canonical link: https://commits.webkit.org/[email protected]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes