Skip to content

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented May 28, 2022

This matches the policy used by all other runtime flavors.

Fixes #69743

This matches the policy used by all other runtime flavors.

Fixes dotnet#69743
@jkotas
Copy link
Member Author

jkotas commented May 28, 2022

cc @dotnet/ilc-contrib

@jkotas jkotas requested a review from agocke May 28, 2022 07:54
Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern/observation is that RuntimeAssembly has a couple caches on it (e.g. type name -> System.Type) that will never be collected now (they would have been collected when the assembly is collected). Not sure how that maps to caching policies on the CLR-JIT side.

I guess we'll unify these as we unify the reflection stacks.

@jkotas jkotas merged commit a4223dc into dotnet:main May 30, 2022
@jkotas jkotas deleted the issue-69743 branch May 30, 2022 03:57
@ghost ghost locked as resolved and limited conversation to collaborators Jun 29, 2022
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.

Crossgen2 has been failing to load 'Microsoft.DiaSymReader.Native'

2 participants