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 infinite generics recursion in SynchronizationContextScheduler #1116

Merged
merged 1 commit into from Dec 24, 2019

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Dec 24, 2019

The infinitive generics recursion interacts poorly with AOT. The AOT compilers have hard figuring
out where the stop generating the code for generics with infinite recursion. They either fail or
produce large images by giving up once the generics get too complex.

This change reverts a small part of #500 that introduced infinite generic recursion and adds comment.

Fixes dotnet/corert#7920

The infinitive generics recursion interacts poorly with AOT. The AOT compilers have hard figuring
out where the stop generating the code for generics with infinite recursion. They either fail or
produce large images by giving up once the generics get too complex.

This change reverts a small part of dotnet#500 that introduced infinite generic recursion and adds comment.

Fixes dotnet/corert#7920
@clairernovotny
Copy link
Member

Thanks! Will merge once the PR build completes

@clairernovotny
Copy link
Member

clairernovotny commented Dec 24, 2019

Also fixes #1113

@clairernovotny
Copy link
Member

This is fixed now in 4.2.2 and 4.3.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avalonia 0.9.0 With Corert Takes forever to Compile!
2 participants