[jni] Bindings for performance tuning