-
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 lots of string allocations were being performed as part of a Object.GetObject() call:
Object.GetObject()>TypeManager.CreateInstance()>TypeManager.GetJavaToManagedType()>JavaNativeTypeManager.ToCliType- ...
The problem is that (4) should not have happened; the only reason it happens is because the monodroid_typemap_java_to_managed() call is returning NULL, forcing us to hit a fallback path (slow! allocates many strings!):
We need to determine why monodroid_typemap_java_to_managed() is failing.
VS bug #635222
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.