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 摘要。