private Region<Object, Object> createRegion(GemFireCacheImpl gfc) {
    createDiskStore(gfc);
    RegionFactory<Object, Object> rf =
        gfc.createRegionFactory(RegionShortcut.LOCAL_PERSISTENT_OVERFLOW);
    rf.setOffHeap(true);
    rf.setDiskStoreName(DS_NAME);
    Region<Object, Object> r = rf.create("OffHeapLRURecoveryRegressionTestRegion");
    return r;
  }
Test populates an offheap heaplru persistent region that contains more data than can fit in
offheap memory. It then recovers the region to demonstrate that recovering this data will not
try to put everything into offheap but instead leave some of it on disk.
geode-core/src/integrationTest/java/org/apache/geode/internal/offheap/OffHeapLRURecoveryRegressionTest.java