Title: [259771] trunk/Source/WebKit
- Revision
- 259771
- Author
- [email protected]
- Date
- 2020-04-08 17:41:18 -0700 (Wed, 08 Apr 2020)
Log Message
REGRESSION(r257758): Launch time performance regression
https://bugs.webkit.org/show_bug.cgi?id=210157
<rdar://problem/61119881>
Reviewed by Alex Christensen.
Address a launch time performance regression in the WebProcessPool constructor
by starting a potentially slow server call in the constructor, and only waiting
for its result if it has not been received when the value is needed.
* UIProcess/WebProcessPool.cpp:
(WebProcessPool::WebProcessPool): Start initialization function in constructor,
rather than blocking for the
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (259770 => 259771)
--- trunk/Source/WebKit/ChangeLog 2020-04-09 00:38:51 UTC (rev 259770)
+++ trunk/Source/WebKit/ChangeLog 2020-04-09 00:41:18 UTC (rev 259771)
@@ -1,3 +1,19 @@
+2020-04-08 Brent Fulgham <[email protected]>
+
+ REGRESSION(r257758): Launch time performance regression
+ https://bugs.webkit.org/show_bug.cgi?id=210157
+ <rdar://problem/61119881>
+
+ Reviewed by Alex Christensen.
+
+ Address a launch time performance regression in the WebProcessPool constructor
+ by starting a potentially slow server call in the constructor, and only waiting
+ for its result if it has not been received when the value is needed.
+
+ * UIProcess/WebProcessPool.cpp:
+ (WebProcessPool::WebProcessPool): Start initialization function in constructor,
+ rather than blocking for the
+
2020-04-08 Alex Christensen <[email protected]>
WKWebViews should behave as if they had loaded something after restoring session state
Modified: trunk/Source/WebKit/UIProcess/WebProcessPool.cpp (259770 => 259771)
--- trunk/Source/WebKit/UIProcess/WebProcessPool.cpp 2020-04-09 00:38:51 UTC (rev 259770)
+++ trunk/Source/WebKit/UIProcess/WebProcessPool.cpp 2020-04-09 00:41:18 UTC (rev 259771)
@@ -143,6 +143,7 @@
#define WEB_PROCESS_POOL_ADDITIONS
#define WEB_PROCESS_POOL_ADDITIONS_2
#define WEB_PROCESS_POOL_ADDITIONS_3
+#define WEB_PROCESS_POOL_ADDITIONS_4
#endif
#define WEBPROCESSPOOL_RELEASE_LOG(channel, fmt, ...) RELEASE_LOG(channel, "%p - WebProcessPool::" fmt, this, ##__VA_ARGS__)
@@ -265,6 +266,7 @@
WTF::setProcessPrivileges(allPrivileges());
WebCore::NetworkStorageSession::permitProcessToUseCookieAPI(true);
Process::setIdentifier(WebCore::ProcessIdentifier::generate());
+ WEB_PROCESS_POOL_ADDITIONS_4
});
if (!m_websiteDataStore && WebKit::WebsiteDataStore::defaultDataStoreExists())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes