Faster JNI array read
Add a better example