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

[MONO] Factor marshal-lightweight out of marshal-ilgen #69208

Merged
merged 13 commits into from
May 28, 2022

Conversation

naricc
Copy link
Member

@naricc naricc commented May 11, 2022

This PR breaks marshal-ilgen into two; marshal-ilgen and marshal-lightweight. The eventually goal of this is to move code not needed in the new marshaling mode to a component to save size. marshal-lightweight will remain in the runtime, and marshal-ilgen will go into the component. When complete, this will save approximately 100 Kb in the runtime.

This change only moves functions, with out breaking them up or re-organizing them internally. Future changes will refactor the methods themselves, with smaller versions in marshal-lightweight. However, this change gets some immediate savings with relatively minimal work.

Contributes to: #61685

@naricc
Copy link
Member Author

naricc commented May 16, 2022

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@naricc
Copy link
Member Author

naricc commented May 16, 2022

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@naricc
Copy link
Member Author

naricc commented May 21, 2022

/azp run runtime-extra-platforms

@naricc
Copy link
Member Author

naricc commented May 21, 2022

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@naricc
Copy link
Member Author

naricc commented May 23, 2022

/azp run runtime-extra-platforms
/azp run runtime-wasm

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@naricc naricc force-pushed the naricc/marshal-lightweight branch from f41c962 to 2305147 Compare May 23, 2022 18:25
@naricc
Copy link
Member Author

naricc commented May 23, 2022

/azp run runtime-extra-platforms
/azp run runtime-wasm

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@naricc
Copy link
Member Author

naricc commented May 24, 2022

/azp run runtime-extra-platforms

@naricc
Copy link
Member Author

naricc commented May 24, 2022

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@naricc naricc force-pushed the naricc/marshal-lightweight branch from 2305147 to 344aa0b Compare May 25, 2022 20:24
@naricc
Copy link
Member Author

naricc commented May 25, 2022

/azp run runtime-extra-platforms

@naricc
Copy link
Member Author

naricc commented May 25, 2022

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@naricc
Copy link
Member Author

naricc commented May 26, 2022

It seems like the remaining test failures are unrelated issues.

#64944
#69850

@naricc naricc changed the title [MONO][DRAFT] Factor marshal-lightweight out of marshal-ilgen [MONO] Factor marshal-lightweight out of marshal-ilgen May 26, 2022
@naricc naricc marked this pull request as ready for review May 26, 2022 16:13
@naricc
Copy link
Member Author

naricc commented May 26, 2022

@lambdageek @vargaz I believe this is ready for review. The remaining test failures seem to be unrelated issues. The tail call one seems to be this: #69850

@naricc
Copy link
Member Author

naricc commented May 26, 2022

@lateralusX Once this merges your PR should be good to go in (this one: #69236)

Copy link
Member

@lambdageek lambdageek left a comment

Choose a reason for hiding this comment

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

nice!

@naricc naricc merged commit 2c86254 into dotnet:main May 28, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jun 27, 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