public void setNewAllocLocation(int arenaIx, int headerIx) {
    assert state.get() == 0 : "New buffer state is not 0 " + this;
    long newState = State.setFlag(State.setLocation(0, arenaIx, headerIx), State.FLAG_NEW_ALLOC);
    if (!state.compareAndSet(0, newState)) {
      throw new AssertionError("Contention on the new buffer " + this);
    }
  }
Allocator uses this to remember the allocation size. Somewhat redundant with header.
llap-server/src/java/org/apache/hadoop/hive/llap/cache/LlapAllocatorBuffer.java