apache / apache/arrow-java

[Java][Memory][Core]: Initialize DEBUG variable in BaseAllocator class separately

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

Description

### Describe the enhancement requested

As we were implementing Java Nullability in https://github.com/apache/arrow/pull/37723, we found that there are many variables that are all tied to the DEBUG variable.

Request: Improve the nullability code by creating a new private static inner class to hold all the fields.

### Component(s)

Java

Contributor guide

Open the contributing guide

Research direction

Start with the BaseAllocator class and review the nullability work referenced in Apache Arrow PR 37723. Identify the fields tied to DEBUG and determine how they should be grouped in a private static inner class. Done means the requested separation is implemented without changing the intended allocator behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.