-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REGRESSION(258484@main): StreamClientConnection sends destination id in wrong format #8465
Merged
webkit-early-warning-system
merged 1 commit into
WebKit:main
from
kkinnunen-apple:ipc-stream-revert-128bit-destination-1
Jan 11, 2023
Merged
REGRESSION(258484@main): StreamClientConnection sends destination id in wrong format #8465
webkit-early-warning-system
merged 1 commit into
WebKit:main
from
kkinnunen-apple:ipc-stream-revert-128bit-destination-1
Jan 11, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
EWS run on previous version of this PR (hash c57abdb) |
achristensen07
approved these changes
Jan 10, 2023
webkit-ews-buildbot
added
the
merging-blocked
Applied to prevent a change from being merged
label
Jan 10, 2023
kkinnunen-apple
removed
the
merging-blocked
Applied to prevent a change from being merged
label
Jan 11, 2023
kkinnunen-apple
force-pushed
the
ipc-stream-revert-128bit-destination-1
branch
from
January 11, 2023 07:59
c57abdb
to
7ec77d5
Compare
EWS run on current version of this PR (hash 7ec77d5) |
kkinnunen-apple
added
the
merge-queue
Applied to send a pull request to merge-queue
label
Jan 11, 2023
β¦in wrong format https://bugs.webkit.org/show_bug.cgi?id=250386 rdar://104076868 Reviewed by Alex Christensen. 258484@main would change the IPC message destination ID to UInt128. The commit changed also stream IPC destinations as UInt128. Stream{Client,Server}Connection public API has only ObjectIdentifier<T> instances as the destination ID. These are uint64_t. Thus sending UInt128 when the input is only uint64_t is redundant. Revert back to uint64_t. The stream IPC memory format expects certain layout and alignment for messages and their fields. The UInt128 change didn't contain these. It is better to make the 128 bit change in isolation, should the need arise. Given that 64 bits is relatively big id space, try to preserve the perf benefit of using this smaller space until needed. * Source/WebKit/Platform/IPC/StreamClientConnection.h: (IPC::StreamClientConnection::trySendDestinationIDIfNeeded): * Source/WebKit/Platform/IPC/StreamServerConnection.cpp: (IPC::StreamServerConnection::startReceivingMessages): (IPC::StreamServerConnection::stopReceivingMessages): (IPC::StreamServerConnection::processSetStreamDestinationID): * Source/WebKit/Platform/IPC/StreamServerConnection.h: * Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp: (WebKit::IPCTestingAPI::JSIPCStreamClientConnection::prepareToSendOutOfStreamMessage): Canonical link: https://commits.webkit.org/258782@main
webkit-early-warning-system
force-pushed
the
ipc-stream-revert-128bit-destination-1
branch
from
January 11, 2023 13:00
7ec77d5
to
ce70a7f
Compare
Committed 258782@main (ce70a7f): https://commits.webkit.org/258782@main Reviewed commits have been landed. Closing PR #8465 and removing active labels. |
webkit-commit-queue
removed
the
merge-queue
Applied to send a pull request to merge-queue
label
Jan 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ce70a7f
7ec77d5
π§ͺ ios-wk2π§ͺ api-macπ§ͺ api-iosπ§ͺ api-gtk