private static void checkInitialValues(LlapAllocatorBuffer[] bufs, int... indexes) {
    for (int index : indexes) {
      LlapAllocatorBuffer buf = bufs[index];
      if (!incRefIfNotEvicted(buf, false)) continue;
      try {
        checkTestValue(buf, index + 1, null, false);
      } finally {
        buf.decRef();
      }
    }
  }
This relies on allocations basically being sequential, no internal reordering. Rather,
the specific paths it takes do; all the scenarios should work regardless of allocation.
llap-server/src/test/org/apache/hadoop/hive/llap/cache/TestBuddyAllocatorForceEvict.java