[webkit-changes] [WebKit/WebKit] ce1e33: [macOS] Assertion failure in nonVisibleProcessMemo...
Miguel Salinas
noreply at github.com
Fri Mar 10 20:09:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ce1e3347d86074ecd22a82046fb8add9833ed3a8
https://github.com/WebKit/WebKit/commit/ce1e3347d86074ecd22a82046fb8add9833ed3a8
Author: Miguel Salinas <miguel_salinas at apple.com>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
M Source/WebKit/WebProcess/WebProcess.cpp
Log Message:
-----------
[macOS] Assertion failure in nonVisibleProcessMemoryCleanupTimerFired
https://bugs.webkit.org/show_bug.cgi?id=253743
rdar://problem/106579817
Reviewed by Chris Dumez.
Using nonVisibleProcessMemoryCleanupTimer is not a good idea for
clearing memory after suspension. If the page is still in the window
then nonVisibleProcessMemoryCleanupTimerFired will hit an assertion. It
also does not account for resuming processes before the timer fires.
Disable the behavior for now to fix the assert failure while a better
solution is developed.
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::prepareToSuspend):
Canonical link: https://commits.webkit.org/261537@main
More information about the webkit-changes
mailing list