Title: [186689] trunk/Source/WebKit2
Revision
186689
Author
[email protected]
Date
2015-07-10 14:15:44 -0700 (Fri, 10 Jul 2015)

Log Message

[WK2] Increase the QoS of some of our WorkQueues to match the one of our processes
https://bugs.webkit.org/show_bug.cgi?id=146855

Reviewed by Anders Carlsson.

Increase the QoS of some of our WorkQueues to match the one of our processes. For
e.g., even though the WebContent and the Networking processes have USER_UNITIATED
QoS, the IPC between them is using a WorkQueue with DEFAULT QoS. Similarly, the
WorkQueue used for network cache reads has DEFAULT QoS.

* NetworkProcess/cache/NetworkCacheStorage.cpp:
(WebKit::NetworkCache::Storage::Storage):
* Platform/IPC/Connection.cpp:
(IPC::Connection::Connection):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (186688 => 186689)


--- trunk/Source/WebKit2/ChangeLog	2015-07-10 21:12:46 UTC (rev 186688)
+++ trunk/Source/WebKit2/ChangeLog	2015-07-10 21:15:44 UTC (rev 186689)
@@ -1,3 +1,20 @@
+2015-07-10  Chris Dumez  <[email protected]>
+
+        [WK2] Increase the QoS of some of our WorkQueues to match the one of our processes
+        https://bugs.webkit.org/show_bug.cgi?id=146855
+
+        Reviewed by Anders Carlsson.
+
+        Increase the QoS of some of our WorkQueues to match the one of our processes. For
+        e.g., even though the WebContent and the Networking processes have USER_UNITIATED
+        QoS, the IPC between them is using a WorkQueue with DEFAULT QoS. Similarly, the
+        WorkQueue used for network cache reads has DEFAULT QoS.
+
+        * NetworkProcess/cache/NetworkCacheStorage.cpp:
+        (WebKit::NetworkCache::Storage::Storage):
+        * Platform/IPC/Connection.cpp:
+        (IPC::Connection::Connection):
+
 2015-07-10  Zalan Bujtas  <[email protected]>
 
         Crash at WebCore::WebPage::innerFrameQuad.

Modified: trunk/Source/WebKit2/NetworkProcess/cache/NetworkCacheStorage.cpp (186688 => 186689)


--- trunk/Source/WebKit2/NetworkProcess/cache/NetworkCacheStorage.cpp	2015-07-10 21:12:46 UTC (rev 186688)
+++ trunk/Source/WebKit2/NetworkProcess/cache/NetworkCacheStorage.cpp	2015-07-10 21:15:44 UTC (rev 186689)
@@ -142,7 +142,7 @@
     : m_basePath(baseDirectoryPath)
     , m_recordsPath(makeRecordsDirectoryPath(baseDirectoryPath))
     , m_writeOperationDispatchTimer(*this, &Storage::dispatchPendingWriteOperations)
-    , m_ioQueue(WorkQueue::create("com.apple.WebKit.Cache.Storage", WorkQueue::Type::Concurrent))
+    , m_ioQueue(WorkQueue::create("com.apple.WebKit.Cache.Storage", WorkQueue::Type::Concurrent, WorkQueue::QOS::UserInitiated))
     , m_backgroundIOQueue(WorkQueue::create("com.apple.WebKit.Cache.Storage.background", WorkQueue::Type::Concurrent, WorkQueue::QOS::Background))
     , m_serialBackgroundIOQueue(WorkQueue::create("com.apple.WebKit.Cache.Storage.serialBackground", WorkQueue::Type::Serial, WorkQueue::QOS::Background))
     , m_blobStorage(makeBlobDirectoryPath(baseDirectoryPath))

Modified: trunk/Source/WebKit2/Platform/IPC/Connection.cpp (186688 => 186689)


--- trunk/Source/WebKit2/Platform/IPC/Connection.cpp	2015-07-10 21:12:46 UTC (rev 186688)
+++ trunk/Source/WebKit2/Platform/IPC/Connection.cpp	2015-07-10 21:15:44 UTC (rev 186689)
@@ -211,7 +211,7 @@
     , m_shouldExitOnSyncMessageSendFailure(false)
     , m_didCloseOnConnectionWorkQueueCallback(0)
     , m_isConnected(false)
-    , m_connectionQueue(WorkQueue::create("com.apple.IPC.ReceiveQueue"))
+    , m_connectionQueue(WorkQueue::create("com.apple.IPC.ReceiveQueue", WorkQueue::Type::Serial, WorkQueue::QOS::UserInitiated))
     , m_inSendSyncCount(0)
     , m_inDispatchMessageCount(0)
     , m_inDispatchMessageMarkedDispatchWhenWaitingForSyncReplyCount(0)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to