Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 5d5cb596befeb8dc6f42a9f882995089571d876b https://github.com/WebKit/WebKit/commit/5d5cb596befeb8dc6f42a9f882995089571d876b Author: Miguel Salinas <miguel_sali...@apple.com> Date: 2023-02-14 (Tue, 14 Feb 2023)
Changed paths: M Source/WebKit/WebProcess/WebProcess.cpp Log Message: ----------- [macOS] Don't kill processes on suspension https://bugs.webkit.org/show_bug.cgi?id=252189 rdar://103470090 Reviewed by Chris Dumez. When the UI process tells a web content process to prepare to suspend we run the low memory handler to reclaim memory. The low memory handler kills processes that are deemed "unnecessary". This is too aggressive for when we are just suspending a process. We only call prepareToSuspend on macOS when process suspension is enabled. * Source/WebKit/WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeWebProcess): Canonical link: https://commits.webkit.org/260292@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes