@After
  public final void tearDown() {
    Invoke.invokeInEveryVM(() -> {
      if (hasCache()) {
        OffHeapTestUtil.checkOrphans(getCache());
      }
    });

    if (hasCache()) {
      OffHeapTestUtil.checkOrphans(getCache());
    }
  }
Tests Global Region with OffHeap memory.

@since Geode 1.0
geode-core/src/distributedTest/java/org/apache/geode/cache30/GlobalRegionOffHeapDUnitTest.java