Skip to content

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

Merged
naricc merged 13 commits into
dotnet:mainfrom
naricc:naricc/marshal-lightweight
May 28, 2022
Merged

[MONO] Factor marshal-lightweight out of marshal-ilgen#69208
naricc merged 13 commits into
dotnet:mainfrom
naricc:naricc/marshal-lightweight

Conversation

@naricc

@nariccnaricc commented May 11, 2022

Copy link
Copy Markdown
Contributor

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

@ghostghost assigned nariccMay 11, 2022
@ghostghost added the area-VM-meta-mono label May 11, 2022
@naricc

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-wasm

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@naricc

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@naricc

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-extra-platforms

@naricc

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-wasm

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@naricc

Copy link
Copy Markdown
ContributorAuthor

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

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@naricc
nariccforce-pushed the naricc/marshal-lightweight branch from f41c962 to 2305147CompareMay 23, 2022 18:25
@naricc

Copy link
Copy Markdown
ContributorAuthor

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

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@naricc

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-extra-platforms

@naricc

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-wasm

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@lambdageeklambdageek mentioned this pull request May 25, 2022
@naricc
nariccforce-pushed the naricc/marshal-lightweight branch from 2305147 to 344aa0bCompareMay 25, 2022 20:24
@naricc

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-extra-platforms

@naricc

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-wasm

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@runfoapprunfoappBot mentioned this pull request May 26, 2022
@naricc

naricc commented May 26, 2022

Copy link
Copy Markdown
ContributorAuthor

It seems like the remaining test failures are unrelated issues.

#64944
#69850

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

naricc commented May 26, 2022

Copy link
Copy Markdown
ContributorAuthor

@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
Copy Markdown
ContributorAuthor

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

@lambdageeklambdageek left a comment

Copy link
Copy Markdown
Member

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:mainMay 28, 2022
@ghostghost locked as resolved and limited conversation to collaborators Jun 27, 2022
Sign up for freeto 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.

2 participants

@naricc@lambdageek