@Override
  public ObjectSizer getObjectSizer() {
    ObjectSizer result = null;
    EvictionAttributes ea = getEvictionAttributes();
    if (ea != null) {
      result = ea.getObjectSizer();
    }
    return result;
  }
Returns the object sizer on this region or null if it has no sizer.

@since GemFire 6.1.2.9
geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegion.java