--- old/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/z/ZGlobals.java 2019-02-25 15:07:37.688693954 +0100 +++ new/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/z/ZGlobals.java 2019-02-25 15:07:37.483687377 +0100 @@ -39,10 +39,12 @@ public static byte ZPageTypeMedium; public static byte ZPageTypeLarge; + // Granule size shift + public static long ZGranuleSizeShift; + // Page size shifts public static long ZPageSizeSmallShift; public static long ZPageSizeMediumShift; - public static long ZPageSizeMinShift; // Object alignment shifts public static int ZObjectAlignmentMediumShift; @@ -74,9 +76,10 @@ ZPageTypeMedium = db.lookupIntConstant("ZPageTypeMedium").byteValue(); ZPageTypeLarge = db.lookupIntConstant("ZPageTypeLarge").byteValue(); + ZGranuleSizeShift = db.lookupLongConstant("ZGranuleSizeShift").longValue(); + ZPageSizeSmallShift = db.lookupLongConstant("ZPageSizeSmallShift").longValue(); ZPageSizeMediumShift = db.lookupLongConstant("ZPageSizeMediumShift").longValue(); - ZPageSizeMinShift = db.lookupLongConstant("ZPageSizeMinShift").longValue(); ZObjectAlignmentMediumShift = db.lookupIntConstant("ZObjectAlignmentMediumShift").intValue(); ZObjectAlignmentLargeShift = db.lookupIntConstant("ZObjectAlignmentLargeShift").intValue();;