--- old/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/g1/HeapRegion.java 2018-11-19 17:23:09.519374200 -0800 +++ new/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/g1/HeapRegion.java 2018-11-19 17:23:08.611810800 -0800 @@ -122,6 +122,10 @@ return type.isOld(); } + public boolean isPreMatureOld() { + return type.isPreMatureOld(); + } + public static long getPointerSize() { return pointerSize; }