Java 2 SDK for Solaris Developer's Guide

Fast JNI Array Access

You can get faster JNI array access with this JDK by using jni_GetPrimitiveArrayCritical() and jni_ReleasePrimitiveArrayCritical() instead of Get*ArrayElements() calls.

Because of these restrictions, the array elements can be accessed without pinning and without copying. For more information, see:

http://java.sun.com/products/jdk/1.2/docs/guide/jni/jni-12.html