< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/memory/FileMapInfo.java

Print this page
*** 111,20 ***
  
      populateMetadataTypeArray(db);
    }
  
    private static void populateMetadataTypeArray(TypeDataBase db) {
!     metadataTypeArray = new Type[8];
  
      metadataTypeArray[0] = db.lookupType("ConstantPool");
      metadataTypeArray[1] = db.lookupType("InstanceKlass");
      metadataTypeArray[2] = db.lookupType("InstanceClassLoaderKlass");
      metadataTypeArray[3] = db.lookupType("InstanceMirrorKlass");
      metadataTypeArray[4] = db.lookupType("InstanceRefKlass");
      metadataTypeArray[5] = db.lookupType("Method");
      metadataTypeArray[6] = db.lookupType("ObjArrayKlass");
      metadataTypeArray[7] = db.lookupType("TypeArrayKlass");
    }
  
    public FileMapHeader getHeader() {
      return headerObj;
    }
--- 111,22 ---
  
      populateMetadataTypeArray(db);
    }
  
    private static void populateMetadataTypeArray(TypeDataBase db) {
!     metadataTypeArray = new Type[10];
  
      metadataTypeArray[0] = db.lookupType("ConstantPool");
      metadataTypeArray[1] = db.lookupType("InstanceKlass");
      metadataTypeArray[2] = db.lookupType("InstanceClassLoaderKlass");
      metadataTypeArray[3] = db.lookupType("InstanceMirrorKlass");
      metadataTypeArray[4] = db.lookupType("InstanceRefKlass");
      metadataTypeArray[5] = db.lookupType("Method");
      metadataTypeArray[6] = db.lookupType("ObjArrayKlass");
      metadataTypeArray[7] = db.lookupType("TypeArrayKlass");
+     metadataTypeArray[8] = db.lookupType("FlatArrayKlass");
+     metadataTypeArray[9] = db.lookupType("InlineKlass");
    }
  
    public FileMapHeader getHeader() {
      return headerObj;
    }
< prev index next >