Skip to content
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

[DRAFT] Refactor marshaling code into legacy and non-legacy #68004

Closed
wants to merge 27 commits into from

Conversation

naricc
Copy link
Member

@naricc naricc commented Apr 14, 2022

This is in draft mode while I work out some build issues.

This PR refactors the marshallng code into legacy, non-legacy, and shared parts. This is one step in a change that will let move the legacy portion to a component. Once componentization is complete, the runtime size will be reduced by approxiamtely 100 KB (on x64) when the legacy component is not needed.

contributes to: #61685

@naricc naricc marked this pull request as draft April 14, 2022 14:43
@naricc naricc changed the title Refactor marshaling code into legacy and non-legacy [DRAFT] Refactor marshaling code into legacy and non-legacy Apr 14, 2022
@@ -91,8 +91,13 @@ set(metadata_common_sources
lock-tracer.h
marshal.c
marshal.h
marshal-legacy.c
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't started looking in detail yet, but I would have expected marshal-legacy.c to go into the ilgen_base_sources group (line 15-22)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I will make that change. I don't think I need a detailed review yet. I put it in draft mode while I work out some things I only saw in CI, but it doesn't seem to let me take your off as a reviewer.

@naricc
Copy link
Member Author

naricc commented Apr 28, 2022

Closed because this is missing some changes that are difficult to merge.

@ghost ghost locked as resolved and limited conversation to collaborators May 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants