Log Message
[iOS] Stop terminating the prewarmed process on application suspension https://bugs.webkit.org/show_bug.cgi?id=203033
Reviewed by Alex Christensen. Stop terminating the prewarmed process on application suspension. Having no prewarmed process when the application resumes means the next cross-site load will be significantly slower. If the system needs memory, this process can be jetsammed. * UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::applicationIsAboutToSuspend):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (251194 => 251195)
--- trunk/Source/WebKit/ChangeLog 2019-10-16 18:24:25 UTC (rev 251194)
+++ trunk/Source/WebKit/ChangeLog 2019-10-16 19:22:38 UTC (rev 251195)
@@ -1,5 +1,19 @@
2019-10-16 Chris Dumez <cdu...@apple.com>
+ [iOS] Stop terminating the prewarmed process on application suspension
+ https://bugs.webkit.org/show_bug.cgi?id=203033
+
+ Reviewed by Alex Christensen.
+
+ Stop terminating the prewarmed process on application suspension. Having no prewarmed process when the
+ application resumes means the next cross-site load will be significantly slower. If the system needs
+ memory, this process can be jetsammed.
+
+ * UIProcess/Cocoa/WebProcessPoolCocoa.mm:
+ (WebKit::WebProcessPool::applicationIsAboutToSuspend):
+
+2019-10-16 Chris Dumez <cdu...@apple.com>
+
Drop unused WKPageSetResourceCachingDisabled() SPI
https://bugs.webkit.org/show_bug.cgi?id=203035
Modified: trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm (251194 => 251195)
--- trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm 2019-10-16 18:24:25 UTC (rev 251194)
+++ trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm 2019-10-16 19:22:38 UTC (rev 251195)
@@ -589,8 +589,6 @@
RELEASE_LOG(ProcessSuspension, "WebProcessPool::applicationIsAboutToSuspend() Terminating non-critical processes");
m_backForwardCache->pruneToSize(1);
- if (m_prewarmedProcess)
- m_prewarmedProcess->shutDown();
m_webProcessCache->clear();
}
_______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes