Skip to content

[linker] Do not preserve __TypeRegistrations - #5516

Merged
radekdoulik merged 3 commits into
dotnet:masterfrom
radekdoulik:pr-remove-type-registrations
Feb 3, 2021
Merged

radekdoulik merged 3 commits into
dotnet:masterfrom
radekdoulik:pr-remove-type-registrations

Conversation

@radekdoulik

@radekdoulik radekdoulik commented Jan 18, 2021 •

Copy link
Copy Markdown
Member

Context: #5515

The __TypeRegistration classes should not be needed anymore as
the new typemap has all the information.

Example of BuildReleaseArm64True test apk sizes difference:

Summary:
  -      42,782 Assemblies -0.74% (of 5,785,819)
  -     147,456 Uncompressed assemblies -1.12% (of 13,202,944)
  -      45,508 Package size difference -0.30% (of 14,995,163)

@radekdoulik
radekdoulik requested a review from grendello January 28, 2021 14:28
@radekdoulik
radekdoulik marked this pull request as ready for review January 28, 2021 14:28
new RemoveSecurity (),
new MarkJavaObjects (),
new PreserveJavaExceptions (),
new PreserveJavaTypeRegistrations (),

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.

We could remove this in current Xamarin.Android, too? Nice.

@radekdoulik
radekdoulik force-pushed the pr-remove-type-registrations branch from 002670d to 82beb33 Compare February 3, 2021 11:09
@radekdoulik
radekdoulik merged commit 756b865 into dotnet:master Feb 3, 2021
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants