[jni] Bindings for performance tuning
first tries