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
Currently we cache class IDs (uintptr) so they don't need to be found using the findClass JNI function.
But not method IDs which we call getMethodID for in each CallMethod. The same is true for field IDs. We could start caching these two types of IDs too.
We currently create global references to class IDs (which are objects), so method and field IDs should remain valid while we hold this global reference.
The text was updated successfully, but these errors were encountered:
Currently we cache class IDs (uintptr) so they don't need to be found using the findClass JNI function.
But not method IDs which we call getMethodID for in each CallMethod. The same is true for field IDs. We could start caching these two types of IDs too.
We currently create global references to class IDs (which are objects), so method and field IDs should remain valid while we hold this global reference.
The text was updated successfully, but these errors were encountered: