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

Avoid generic virtual methods in enum infrastructure #83063

Merged
merged 2 commits into from
Mar 7, 2023

Conversation

MichalStrehovsky
Copy link
Member

After @EgorBo's #83054 it became realistic to remove the type loader from a hello world app. The comparers logic was keeping type loader around no matter what, but comparers are now preinitialized.

This avoidable use of generic virtual methods is another thing keeping the type loader around. As you can see in the commit timestamp, I've been sitting on this change for 2 months.

Cc @dotnet/ilc-contrib

@ghost
Copy link

ghost commented Mar 7, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

After @EgorBo's #83054 it became realistic to remove the type loader from a hello world app. The comparers logic was keeping type loader around no matter what, but comparers are now preinitialized.

This avoidable use of generic virtual methods is another thing keeping the type loader around. As you can see in the commit timestamp, I've been sitting on this change for 2 months.

Cc @dotnet/ilc-contrib

Author: MichalStrehovsky
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: -

@MichalStrehovsky MichalStrehovsky merged commit 6319039 into dotnet:main Mar 7, 2023
@MichalStrehovsky MichalStrehovsky deleted the BAK_nogvm_in_enums branch March 7, 2023 04:50
@ghost ghost locked as resolved and limited conversation to collaborators Apr 6, 2023
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.

2 participants