LocalRegion getRoot() {
    LocalRegion region = this;
    while (region.parentRegion != null) {
      region = region.parentRegion;
    }
    return region;
  }
Cleans up any resources that may have been allocated for this region during its initialization.
geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegion.java