Skip to content

Review JNIEnv.RegisterJniNatives() for allocations #1833

@jonpryor

Description

@jonpryor

When recently profiling Xamarin.Android application startup, we observed that lots of values were being allocated within JNIEnv.RegisterJniNatives()

We should review this method and anything it calls to see if there's anything we can do differently.

(Obvious "do differently" angle: https://github.com/xamarin/xamarin-android/projects/1)

VS bug #660391

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: App RuntimeIssues in `libmonodroid.so`.Area: PerformanceIssues with performance.possibly-staleIssues that are potentially no longer relevant.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions