@VisibleForTesting
  public boolean isInvalid() {
    return State.hasFlags(state.get(), State.FLAG_EVICTED);
  }
Allocator uses this to remember the allocation size. Somewhat redundant with header.
llap-server/src/java/org/apache/hadoop/hive/llap/cache/LlapAllocatorBuffer.java