private MemoryUsage getHeapMemoryUsage(MemoryMXBean memBean) {
    try {
      return memBean.getHeapMemoryUsage();
    } catch (IllegalArgumentException e) {
      if (logger.isDebugEnabled()) {
        logger.debug("JDK-8207200 prevented stat sampling for HeapMemoryUsage");
      }
      return null;
    }
  }
Handle JDK-8207200 gracefully while fetching getHeapMemoryUsage from MemoryMXBean.

@see <a href="https://bugs.openjdk.java.net/browse/JDK-8207200">JDK-8207200</a>
geode-core/src/main/java/org/apache/geode/internal/stats50/VMStats50.java