@Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface CriticalRegion
Generator
will generate code to transfer arrays from the
JVM to native code using the Get/Release<primitivetype>ArrayElements
methods.
However these methods copy the underlying data. With this annotation, the generated
code will always call the Get/ReleasePrimitiveArrayCritical
methods instead.Generator
Copyright © 2024. All rights reserved.