apache / apache/arrow-java

[Java] Release outstanding buffers when BaseAllocator is being closed

オープン
#223 コメント 0 件 リアクション 0 件 担当者 1 名 @zhztheplayer が担当を希望しています GitHub で見る
Type: enhancement
主要言語
Java
スター
94
フォーク
152
平均マージ
3日 16時間
マージ済み PR(30日)
11

説明

### Describe the enhancement requested

This is mainly aim to enhance [BaseAllocator#close()](https://github.com/apache/arrow/blob/4e439f6a597180c5fc8ff1552c860cecd33736c5/java/memory/memory-core/src/main/java/org/apache/arrow/memory/BaseAllocator.java#L370-L454) 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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。