|
| 1 | +2022-03-10 Chris Dumez <cdumez@apple.com> |
| 2 | + |
| 3 | + Optimize further the passing of data across threads |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=237695 |
| 5 | + |
| 6 | + Reviewed by Geoffrey Garen. |
| 7 | + |
| 8 | + Optimize further the passing of data across threads by leveraging the optimized |
| 9 | + version of isolatedCopy() on r-value references whenever possible. |
| 10 | + |
| 11 | + * Modules/cache/CacheStorageConnection.h: |
| 12 | + * Modules/cache/DOMCache.cpp: |
| 13 | + (WebCore::DOMCache::queryCache): |
| 14 | + * Modules/cache/WorkerCacheStorageConnection.cpp: |
| 15 | + (WebCore::toCrossThreadRecordData): |
| 16 | + (WebCore::recordsDataFromRecords): |
| 17 | + (WebCore::recordsDataOrErrorFromRecords): |
| 18 | + (WebCore::WorkerCacheStorageConnection::retrieveRecords): |
| 19 | + (WebCore::WorkerCacheStorageConnection::batchPutOperation): |
| 20 | + * Modules/cache/WorkerCacheStorageConnection.h: |
| 21 | + * Modules/entriesapi/DOMFileSystem.cpp: |
| 22 | + (WebCore::DOMFileSystem::listDirectory): |
| 23 | + * Modules/mediastream/DetachedRTCDataChannel.h: |
| 24 | + (WebCore::DetachedRTCDataChannel::DetachedRTCDataChannel): |
| 25 | + (WebCore::DetachedRTCDataChannel::decode): |
| 26 | + * Modules/mediastream/RTCDataChannel.cpp: |
| 27 | + (WebCore::RTCDataChannel::detach): |
| 28 | + * Modules/mediastream/RTCDataChannel.h: |
| 29 | + * Modules/notifications/Notification.cpp: |
| 30 | + (WebCore::Notification::create): |
| 31 | + (WebCore::Notification::Notification): |
| 32 | + * Modules/notifications/Notification.h: |
| 33 | + * Modules/push-api/PushSubscriptionData.cpp: |
| 34 | + (WebCore::PushSubscriptionData::isolatedCopy const): |
| 35 | + (WebCore::PushSubscriptionData::isolatedCopy): |
| 36 | + * Modules/push-api/PushSubscriptionData.h: |
| 37 | + * Modules/storage/DummyStorageProvider.h: |
| 38 | + * Modules/storage/StorageConnection.h: |
| 39 | + * Modules/storage/StorageManager.cpp: |
| 40 | + (WebCore::StorageManager::persisted): |
| 41 | + (WebCore::StorageManager::fileSystemAccessGetDirectory): |
| 42 | + * Modules/storage/WorkerStorageConnection.cpp: |
| 43 | + (WebCore::WorkerStorageConnection::getPersisted): |
| 44 | + (WebCore::WorkerStorageConnection::fileSystemGetDirectory): |
| 45 | + * Modules/storage/WorkerStorageConnection.h: |
| 46 | + * Modules/webdatabase/ChangeVersionWrapper.cpp: |
| 47 | + (WebCore::ChangeVersionWrapper::ChangeVersionWrapper): |
| 48 | + * Modules/webdatabase/ChangeVersionWrapper.h: |
| 49 | + (WebCore::ChangeVersionWrapper::create): |
| 50 | + * Modules/webdatabase/Database.cpp: |
| 51 | + (WebCore::Database::changeVersion): |
| 52 | + * Modules/webdatabase/Database.h: |
| 53 | + * Modules/webdatabase/DatabaseTracker.cpp: |
| 54 | + (WebCore::DatabaseTracker::addOpenDatabase): |
| 55 | + * Modules/webdatabase/SQLError.h: |
| 56 | + (WebCore::SQLError::create): |
| 57 | + (WebCore::SQLError::SQLError): |
| 58 | + * Modules/websockets/ThreadableWebSocketChannel.h: |
| 59 | + * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp: |
| 60 | + (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessage): |
| 61 | + (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageError): |
| 62 | + * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h: |
| 63 | + * Modules/websockets/WebSocket.cpp: |
| 64 | + (WebCore::WebSocket::didReceiveMessage): |
| 65 | + (WebCore::WebSocket::didReceiveMessageError): |
| 66 | + * Modules/websockets/WebSocket.h: |
| 67 | + * Modules/websockets/WebSocketChannel.cpp: |
| 68 | + (WebCore::WebSocketChannel::fail): |
| 69 | + (WebCore::WebSocketChannel::didFailSocketStream): |
| 70 | + (WebCore::WebSocketChannel::processFrame): |
| 71 | + * Modules/websockets/WebSocketChannel.h: |
| 72 | + * Modules/websockets/WebSocketChannelClient.h: |
| 73 | + * Modules/websockets/WebSocketHandshake.cpp: |
| 74 | + (WebCore::WebSocketHandshake::setURL): Deleted. |
| 75 | + * Modules/websockets/WorkerThreadableWebSocketChannel.cpp: |
| 76 | + (WebCore::WorkerThreadableWebSocketChannel::fail): |
| 77 | + (WebCore::WorkerThreadableWebSocketChannel::Peer::fail): |
| 78 | + (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessage): |
| 79 | + (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessageError): |
| 80 | + (WebCore::WorkerThreadableWebSocketChannel::Bridge::connect): |
| 81 | + (WebCore::WorkerThreadableWebSocketChannel::Bridge::fail): |
| 82 | + * Modules/websockets/WorkerThreadableWebSocketChannel.h: |
| 83 | + * dom/ExceptionData.h: |
| 84 | + (WebCore::ExceptionData::toException const): |
| 85 | + (WebCore::ExceptionData::toException): |
| 86 | + * inspector/agents/InspectorWorkerAgent.cpp: |
| 87 | + (WebCore::InspectorWorkerAgent::sendMessageFromWorkerToFrontend): |
| 88 | + * inspector/agents/InspectorWorkerAgent.h: |
| 89 | + * page/CacheStorageProvider.h: |
| 90 | + * page/PageDebuggable.cpp: |
| 91 | + (WebCore::PageDebuggable::dispatchMessageFromRemote): |
| 92 | + * page/PageDebuggable.h: |
| 93 | + * workers/WorkerInspectorProxy.cpp: |
| 94 | + (WebCore::WorkerInspectorProxy::sendMessageFromWorkerToFrontend): |
| 95 | + * workers/WorkerInspectorProxy.h: |
| 96 | + * workers/WorkerMessagingProxy.cpp: |
| 97 | + (WebCore::WorkerMessagingProxy::postMessageToDebugger): |
| 98 | + * workers/service/SWClientConnection.cpp: |
| 99 | + (WebCore::SWClientConnection::jobRejectedInServer): |
| 100 | + (WebCore::SWClientConnection::registrationJobResolvedInServer): |
| 101 | + * workers/service/SWClientConnection.h: |
| 102 | + * workers/service/ServiceWorkerClientData.cpp: |
| 103 | + (WebCore::ServiceWorkerClientData::isolatedCopy const): |
| 104 | + (WebCore::ServiceWorkerClientData::isolatedCopy): |
| 105 | + * workers/service/ServiceWorkerClientData.h: |
| 106 | + * workers/service/ServiceWorkerContextData.h: |
| 107 | + (WebCore::ServiceWorkerContextData::ImportedScript::isolatedCopy const): |
| 108 | + (WebCore::ServiceWorkerContextData::ImportedScript::isolatedCopy): |
| 109 | + * workers/service/ServiceWorkerRegistration.cpp: |
| 110 | + (WebCore::ServiceWorkerRegistration::showNotification): |
| 111 | + * workers/service/ServiceWorkerRegistration.h: |
| 112 | + * workers/service/ServiceWorkerRegistrationOptions.cpp: |
| 113 | + (WebCore::ServiceWorkerRegistrationOptions::isolatedCopy const): |
| 114 | + (WebCore::ServiceWorkerRegistrationOptions::isolatedCopy): |
| 115 | + * workers/service/ServiceWorkerRegistrationOptions.h: |
| 116 | + * workers/service/context/ServiceWorkerDebuggable.cpp: |
| 117 | + (WebCore::ServiceWorkerDebuggable::dispatchMessageFromRemote): |
| 118 | + * workers/service/context/ServiceWorkerDebuggable.h: |
| 119 | + * workers/service/context/ServiceWorkerInspectorProxy.cpp: |
| 120 | + (WebCore::ServiceWorkerInspectorProxy::sendMessageToWorker): |
| 121 | + (WebCore::ServiceWorkerInspectorProxy::sendMessageFromWorkerToFrontend): |
| 122 | + * workers/service/context/ServiceWorkerInspectorProxy.h: |
| 123 | + * workers/service/context/ServiceWorkerThreadProxy.cpp: |
| 124 | + (WebCore::ServiceWorkerThreadProxy::postMessageToDebugger): |
| 125 | + (WebCore::ServiceWorkerThreadProxy::startFetch): |
| 126 | + * workers/service/server/RegistrationDatabase.cpp: |
| 127 | + (WebCore::RegistrationDatabase::importRecords): |
| 128 | + |
1 | 129 | 2022-03-10 Antoine Quint <graouts@webkit.org> |
2 | 130 |
|
3 | 131 | [web-animations] grid-template-areas should support discrete animation |
|
0 commit comments