Describe the enhancement requested
See discussion in apache/arrow#36211.
Ideally we'd be able to remove the usage of internals, or at least make it so that they're optional (e.g. if we could implement two versions of InnerAllocator and pick the one that works at runtime).
Component(s)
Java