@Override
  public MemoryThresholds getThresholds() {
    // MemoryThresholds is immutable so we
    // can just return it instead of making a copy.
    return thresholds;
  }
Populate off-heap memory data in the given profile.

@param profile Profile to populate.
geode-core/src/main/java/org/apache/geode/internal/cache/control/OffHeapMemoryMonitor.java