Skip to content

Run TypeMap logic on demand#1728

Merged
sbomer merged 2 commits intodotnet:masterfrom
sbomer:lazyTypeMap
Jan 7, 2021
Merged

Run TypeMap logic on demand#1728
sbomer merged 2 commits intodotnet:masterfrom
sbomer:lazyTypeMap

Conversation

@sbomer
Copy link
Member

@sbomer sbomer commented Jan 7, 2021

Separating this change out from #1666. This implements the behavior described in the first point under https://github.com/mono/linker/blob/feature/lazyload/docs/design/assembly-loading.md#additional-processing-done-lazily.

The overrides tracked for a method may be incomplete, and will be updated as new assemblies are loaded. This is compatible with the current design of MarkStep which re-processes virtual methods, but this could be optimized in the future.

@sbomer sbomer requested a review from marek-safar as a code owner January 7, 2021 00:03
- Move default interface implementations to TypeMapInfo
- Avoid small helpers
@sbomer sbomer merged commit 6969873 into dotnet:master Jan 7, 2021
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
* Run TypeMap logic on demand

* PR feedback

- Move default interface implementations to TypeMapInfo
- Avoid small helpers

Commit migrated from dotnet/linker@6969873
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.

3 participants