-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Reflection: Traffic in RemoteRefs. #27369
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
Reflection: Traffic in RemoteRefs. #27369
Conversation
@swift-ci Please test |
@swift-ci Please test Windows |
Build failed |
Build failed |
036a8e3
to
20f3bad
Compare
@swift-ci Please test |
@swift-ci Please test Windows |
Build failed |
Build failed |
Instead of passing around raw local pointers and references, and spreading tricky offset arithmetic around with the Local/RemoteAddress fields in ReflectionInfo, have the TypeRefBuilder code use RemoteRefs everywhere, which keep the remote/local mapping together in one unit and provide centralized API for this logic. This doesn't yet change how code uses the RemoteRef address data to follow pointers across objects, for things like reading type refs, but that should be much easier to do after this lands.
20f3bad
to
8c4df3b
Compare
@swift-ci Please test |
@swift-ci Please test Windows |
1 similar comment
@swift-ci Please test Windows |
Build failed |
Build failed |
@swift-ci Please test Windows |
@compnerd The "Please test Windows" bot seemed to be ignoring my requests after the first one yesterday up until I tried again this morning. Known problem? |
These Windows test failures look unrelated:
|
Instead of passing around raw local pointers and references, and spreading
tricky offset arithmetic around with the Local/RemoteAddress fields in
ReflectionInfo, have the TypeRefBuilder code use RemoteRefs everywhere,
which keep the remote/local mapping together in one unit and provide
centralized API for this logic.
This doesn't yet change how code uses the RemoteRef address data to
follow pointers across objects, for things like reading type refs, but
that should be much easier to do after this lands.