private void free(long addr, boolean updateStats) {
    int cSize = OffHeapStoredObject.getSize(addr);
    if (updateStats) {
      OffHeapMemoryStats stats = ma.getStats();
      stats.incObjects(-1);
      allocatedSize.addAndGet(-cSize);
      stats.incUsedMemory(-cSize);
      stats.incFreeMemory(cSize);
      ma.notifyListeners();
    }
    if (cSize <= MAX_TINY) {
      freeTiny(addr, cSize);
    } else {
      freeHuge(addr, cSize);
    }
  }
Used by the FreeListManager to easily search its ConcurrentSkipListSet. This is not a real
OffHeapStoredObject but only used for searching.
geode-core/src/main/java/org/apache/geode/internal/offheap/FreeListManager.java