-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Labels
Area: App RuntimeIssues in `libmonodroid.so`.Issues in `libmonodroid.so`.Area: PerformanceIssues with performance.Issues with performance.vs-syncFor internal use only; creates a VSTS "mirror" issue.For internal use only; creates a VSTS "mirror" issue.
Milestone
Description
When recently profiling Xamarin.Android application startup, we observed that a callstack "rooted" in TypeManager.RegisterType() was using LINQ.
However, the real problem is that TypeManager.RegisterType() doesn't use our type mapping files!
It should at minimum be using JNIEnv.GetJniName(Type). Then, we need to make sure that monodroid_typemap_managed_to_java() is actually returning values, so that we don't hit the (slow, LINQ-using) JavaNativeTypeManager.ToJniName() fallback path.
VS bug #635223
Metadata
Metadata
Assignees
Labels
Area: App RuntimeIssues in `libmonodroid.so`.Issues in `libmonodroid.so`.Area: PerformanceIssues with performance.Issues with performance.vs-syncFor internal use only; creates a VSTS "mirror" issue.For internal use only; creates a VSTS "mirror" issue.