[release/10.0] Reduce types loaded on startup significantly - #120712
#120712Merged
JulieLeeMSFT merged 19 commits intoDec 2, 2025
release/10.0dotnet/runtime:release/10.0from
backport/pr-120459-to-release/10.0dotnet/runtime:backport/pr-120459-to-release/10.0Copy head branch name to clipboard
Merged
[release/10.0] Reduce types loaded on startup significantly#120712JulieLeeMSFT merged 19 commits intorelease/10.0dotnet/runtime:release/10.0from backport/pr-120459-to-release/10.0dotnet/runtime:backport/pr-120459-to-release/10.0Copy head branch name to clipboard
JulieLeeMSFT merged 19 commits into
release/10.0dotnet/runtime:release/10.0from
backport/pr-120459-to-release/10.0dotnet/runtime:backport/pr-120459-to-release/10.0Copy head branch name to clipboard
Commits
Commits on Oct 14, 2025
Reduce constraint loading by not forcing constraints to be loaded eagerly - Reduce the set of constraints that need to be loaded for Bounds and cast checking
Show description for cdeb242authored andcommitted
- authored andcommitted

Tweak, and add comments...
Show description for 82a4f0cauthored andcommitted
- authored andcommitted

- authored andcommitted

Rework the special instantiation type logic to be more effective - Currently it only handles interfaces defined on valuetypes - Change it to work for interfaces that are required implementation of …
Show description for 957c89cauthored andcommitted
- authored andcommitted

Optimize virtual static and default interface method resolution logic - Tweak the logic so that it will attempt to avoid loading types if they are cannot have implementations of the method we're lo…
Show description for 9b4ccbeauthored andcommitted
Update loader/classloader/generics/ByRefLike/ValidateNegative test - This test was no longer actually forcing the type which is supposed to throw a TypeLoadException to load within the test - Tweak…
Show description for 87757d0authored andcommitted
- authored andcommitted

- authored andcommitted

- authored andcommitted

- Add support for doing circularity checks on type and method generic parameters to the TypeValidationChecker in crossgen2 - Add support for doing variance safety checks to the type loader in cross…
Show description for 292ee2bauthored andcommitted
- authored andcommitted

- authored andcommitted

- authored andcommitted

- authored andcommitted
