For some of the routines, we can generate both the normal and the leaf versions, and call each one depending on the situation. For example Set<PrimitiveType>ArrayRegion could be fast depending on the length of the region, maybe it makes sense to conditionally call one or the other based on this.
For some of the routines, we can generate both the normal and the leaf versions, and call each one depending on the situation. For example
Set<PrimitiveType>ArrayRegion
could be fast depending on the length of the region, maybe it makes sense to conditionally call one or the other based on this.Candidates:
FindClass
DeleteGlobalRef
Get<Member>ID
GetStringLength
GetArrayLength
IsInstanceOf
For jnigen, users should be able to specify if a method is leaf or not, this can be done as a part of jnigen transformation. However simply:
cc/ @dcharkes