[ 
https://issues.apache.org/jira/browse/ARROW-7495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17116386#comment-17116386
 ] 

Ji Liu commented on ARROW-7495:
-------------------------------

Issue resolved by pull request 6433

[https://github.com/apache/arrow/pull/6433|https://github.com/apache/arrow/pull/7211]

> [Java] Remove "empty" concept from ArrowBuf, replace with custom 
> referencemanager
> ---------------------------------------------------------------------------------
>
>                 Key: ARROW-7495
>                 URL: https://issues.apache.org/jira/browse/ARROW-7495
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: Java
>            Reporter: Jacques Nadeau
>            Assignee: Ji Liu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 4h 20m
>  Remaining Estimate: 0h
>
> With the introduction of ReferenceManager in the codebase, the need for a 
> separate ArrowBuf is no longer necessary. Instead, once can create a new 
> reference manager that is used for the empty ArrowBuf. For reminder/review, 
> empty arrowbufs have a special behavior in that they don't actually have any 
> reference counting semantics and always stay at one. This allow us to better 
> troubleshoot unallocated memory than what would otherwise be an NPE after 
> calling ValueVector.clear()



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to