Added in API level 34
dalvik.annotation.optimization
Annotations
CriticalNative |
An ART runtime built-in optimization for native methods to speed up JNI transitions:
Methods that are annotated with @CriticalNative use the fastest
available JNI transitions from managed code to the native code and back.
|
FastNative |
An ART runtime built-in optimization for native methods to speed up JNI transitions:
Compared to normal native methods, native methods that are annotated with
@FastNative use faster JNI transitions from managed code to the native code
and back.
|
Annotations