Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zhztheplayer opened this issue Jan 18, 2023 · 0 comments
Open
Assignees
Labels
Type: enhancement New feature or request

Comments

@zhztheplayer
Copy link
Member

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
Labels
Type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant