You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/02/15 07:24:00 UTC

[jira] [Updated] (ARROW-7495) [Java] Remove "empty" concept from ArrowBuf, replace with custom referencemanager

     [ https://issues.apache.org/jira/browse/ARROW-7495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-7495:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>
>
> 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)