[
https://issues.apache.org/jira/browse/ARROW-9448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-9448:
----------------------------------
Labels: pull-request-available (was: )
> [Java] Circular initialization between ArrowBuf and BaseAllocator leads to
> null HistoricalLog for empty buffer
> --------------------------------------------------------------------------------------------------------------
>
> Key: ARROW-9448
> URL: https://issues.apache.org/jira/browse/ARROW-9448
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Affects Versions: 1.0.0
> Reporter: David Li
> Assignee: David Li
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Still working on a reproduction (this is internal code), but what I see is:
> # Test initializes a RootAllocator in a JUnit @Before
> # BaseAllocator.<clinit> creates a Config
> # The constructor of ImmutableConfig gets the allocation manager
> # This eventually runs NettyAllocationManager.<clinit>
> # This creates a static ArrowBuf as the empty buffer
> # The ArrowBuf has a null HistoricalLog as BaseAllocator hasn't fully
> initialized yet
--
This message was sent by Atlassian Jira
(v8.3.4#803005)