public Integer debugDumpShort(StringBuilder result) {
      if (data == null) {
        return null;
      }
      int allocSize = minAllocation;
      int total = 0;
      for (int i = 0; i < freeLists.length; ++i, allocSize <<= 1) {
        FreeList freeList = freeLists[i];
        freeList.lock.lock();
        try {
          int nextHeaderIx = freeList.listHead;
          int count = 0;
          while (nextHeaderIx >= 0) {
            ++count;
            nextHeaderIx = getNextFreeListItem(offsetFromHeaderIndex(nextHeaderIx));
          }
          if (count > 0) {
            if (total == 0) {
              result.append("\nArena with free list lengths by size: ");
            }
            total += (allocSize * count);
            result.append(allocSize).append(" => ").append(count).append(", ");
          }
        } finally {
          freeList.lock.unlock();
        }
      }
      return total;
    }
Unsets the headers (meaning this does not refer to a buffer).
llap-server/src/java/org/apache/hadoop/hive/llap/cache/BuddyAllocator.java