apache / apache/arrow-java

[Java] Add getInitReservation() to BufferAllocator interface similar to getLimit(), getHeadRoom() APIs

未關閉
#421 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Type: enhancement
主要語言
Java
星號
94
分支
152
平均合併
3 天 16 小時
30 天內合併 PR
11

描述

For capturing additional information for debugging/profiling purposes, it will be useful to expose the init reservation for buffer allocator. 

I would encourage someone new to the community to do this.

**Reporter**: [Siddharth Teotia](https://issues.apache.org/jira/browse/ARROW-2001) / @siddharthteotia

**Note**: *This issue was originally created as [ARROW-2001](https://issues.apache.org/jira/browse/ARROW-2001). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

貢獻指南

開啟貢獻指南

研究方向

首先定位 Java BufferAllocator 介面,並閱讀現有的 getLimit() 與 getHeadRoom() API,了解它們的慣例。追蹤它們的實作與測試,接著一致地公開 allocator 的 init 預留,並驗證相關的介面與實作測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
backend-api-design
Issue 類型
功能
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。