-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Only use first field maps for shared statics #66558
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
Only use first field maps for shared statics #66558
Conversation
|
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsThis change rounds out the story of redundant maps in VN by encoding the shared-ness information in the lower two bits of the handle stored inside the Addresses two Part of #58312.
|
d14ad65 to
3c65a34
Compare
2c87537 to
c5e8a2d
Compare
Allows this change to be tested via SPMI.
The field sequences are already canonical in the store, so there is no need to have the somewhat involved code in VN which essentially re-canonicalized them, we can just use the pointer value (as a handle) to encode them. Makes the future change of encoding some information in the handle a little easier.
c5e8a2d to
1e24123
Compare
|
Zero diffs have been recorded: https://dev.azure.com/dnceng/public/_build/results?buildId=1667122&view=ms.vss-build-web.run-extensions-tab. |
This reverts commit b8bd75a.
|
@dotnet/jit-contrib |
This change rounds out the story of redundant maps for statics in VN by encoding the shared-ness information in the lower two bits of the handle stored inside the
FieldSeqNodeand using that information inIsFieldAddr.Addresses two
TODO-VNTypes. Saves~0.12%in memory consumption when R2R-ing CoreLib.No diffs are expected.
Part of #58312.