Skip to content

[Java] Release outstanding buffers when BaseAllocator is being closed #223

Open

Description

@zhztheplayer

Describe the enhancement requested

This is mainly aim to enhance BaseAllocator#close() to implement the original design of its super method BufferAllocator#close():

https://github.com/apache/arrow/blob/4e439f6a597180c5fc8ff1552c860cecd33736c5/java/memory/memory-core/src/main/java/org/apache/arrow/memory/BufferAllocator.java#L88-L95

The implementation should be fast enough to not impact current allocation process much. Also we should put detailed information of this clean-up action into allocator-close logs.

Component(s)

Java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions