You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeManager.CreateProxy does not cache constructor reflection #7479
Activity
jonathanpeppers commentedon Oct 30, 2024
I can still see this in a recent .NET MAUI app:
It looks like any API that returns a new instance of a Java.Lang.Object subclass would look up the constructor again.
I think this could happen for commonly called APIs like
View.Backgroundthat return uniqueDrawableinstances. MAUI calls these a lot.[Java.Interop] Cache peer activation constructors (dotnet#12354)