You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the application provides a direct byte buffer, then the C++ side of the JNI can receive the pointer with GetDirectBufferAddress, which skips an unnecessary copy as the data crosses the C++/Java interface (GetPrimitiveArrayCritical can cause a copy if the array is fragmented on the Java heap)
The text was updated successfully, but these errors were encountered:
If the application provides a direct byte buffer, then the C++ side of the JNI can receive the pointer with GetDirectBufferAddress, which skips an unnecessary copy as the data crosses the C++/Java interface (GetPrimitiveArrayCritical can cause a copy if the array is fragmented on the Java heap)
The text was updated successfully, but these errors were encountered: