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