Skip to content

[MONO] Move Marshal-ilgen into a component - #75542

Merged
naricc merged 17 commits into
dotnet:mainfrom
naricc:naricc/marshal-component
Nov 15, 2022
Merged

[MONO] Move Marshal-ilgen into a component#75542
naricc merged 17 commits into
dotnet:mainfrom
naricc:naricc/marshal-component

Conversation

@naricc

@nariccnaricc commented Sep 13, 2022

Copy link
Copy Markdown
Contributor

Move marhsal-ilgen into a component, ultimately saving approximately 100kb in the runtime when the component is not needed. This addresses issues seen on iOS last time this was attempted, and fixes a race condition.

I am still doing manual testing on xamarin-ios and xamarin-android, but think this is ready for review.

@ghostghost added the area-VM-meta-mono label Sep 13, 2022
@ghostghost assigned nariccSep 13, 2022
@naricc
nariccforce-pushed the naricc/marshal-component branch 2 times, most recently from 9587a95 to f84b181CompareOctober 17, 2022 19:47
@nariccnaricc changed the title [MONO][DRAFT] Move Marshal-ilgen into a component[MONO] Move Marshal-ilgen into a componentOct 17, 2022
@naricc
naricc marked this pull request as ready for review October 17, 2022 20:07
@lambdageek

Copy link
Copy Markdown
Member

@naricc you need to resolve the merge conflicts before the CI pipelines will run

@naricc
nariccforce-pushed the naricc/marshal-component branch from 62c3d76 to 4e0e605CompareNovember 2, 2022 19:45
@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).

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

@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
nariccforce-pushed the naricc/marshal-component branch from 9a02194 to 091aa36CompareNovember 3, 2022 18:48
@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).

Comment threadsrc/mono/CMakeLists.txt
@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).

@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.

LGTM. I'm excited that we finally have a chance to clean things up here

Comment threadsrc/mono/mono/metadata/marshal.h
@lambdageek

This comment was marked as resolved.

@naricc

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-wasm

@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).

1 similar comment
@azure-pipelines

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

@naricc
naricc merged commit 3cfd6cf into dotnet:mainNov 15, 2022
@ghostghost locked as resolved and limited conversation to collaborators Dec 16, 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