You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Jacques Nadeau (Jira)" <ji...@apache.org> on 2020/01/03 23:14:00 UTC

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

Jacques Nadeau created ARROW-7495:
-------------------------------------

             Summary: [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
            Reporter: Jacques Nadeau


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)