You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2020/07/13 21:19:00 UTC

[jira] [Created] (ARROW-9448) [Java] Circular initialization between ArrowBuf and BaseAllocator leads to null HistoricalLog in tests

David Li created ARROW-9448:
-------------------------------

             Summary: [Java] Circular initialization between ArrowBuf and BaseAllocator leads to null HistoricalLog in tests
                 Key: ARROW-9448
                 URL: https://issues.apache.org/jira/browse/ARROW-9448
             Project: Apache Arrow
          Issue Type: Bug
          Components: Java
            Reporter: David Li


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)