private List<OffHeapStoredObject> getRegionLiveChunks(InternalCache cache) {
    ArrayList<OffHeapStoredObject> result = new ArrayList<>();
    if (cache != null) {
      for (final Region<?, ?> rr : cache.rootRegions()) {
        getRegionLiveChunks(rr, result);
        for (final Region<?, ?> region : rr.subregions(true)) {
          getRegionLiveChunks(region, result);
        }
      }
    }
    return result;
  }
Returns a possibly empty list that contains all the Chunks used by regions.
geode-core/src/main/java/org/apache/geode/internal/offheap/MemoryAllocatorImpl.java