Skip to content

Implement org.apache.hadoop.fs.ByteBufferReadable #12

@PerilousApricot

Description

@PerilousApricot

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions