apache / apache/arrow-java

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

Open
#421 2 comments 0 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

Description

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.*

Contributor guide

Open the contributing guide

Research direction

Start by locating the Java BufferAllocator interface and read the existing getLimit() and getHeadRoom() APIs for their conventions. Trace their implementations and tests, then expose the allocator's init reservation consistently and verify the relevant interface and implementation tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.