< prev index next >

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

Print this page
*** 114,21 ***
  
      populateMetadataTypeArray(db);
    }
  
    private static void populateMetadataTypeArray(TypeDataBase db) {
!     metadataTypeArray = new Type[9];
  
      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("InstanceStackChunkKlass");
      metadataTypeArray[6] = db.lookupType("Method");
      metadataTypeArray[7] = db.lookupType("ObjArrayKlass");
      metadataTypeArray[8] = db.lookupType("TypeArrayKlass");
    }
  
    public FileMapHeader getHeader() {
      return headerObj;
    }
--- 114,23 ---
  
      populateMetadataTypeArray(db);
    }
  
    private static void populateMetadataTypeArray(TypeDataBase db) {
!     metadataTypeArray = new Type[11];
  
      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("InstanceStackChunkKlass");
      metadataTypeArray[6] = db.lookupType("Method");
      metadataTypeArray[7] = db.lookupType("ObjArrayKlass");
      metadataTypeArray[8] = db.lookupType("TypeArrayKlass");
+     metadataTypeArray[9] = db.lookupType("FlatArrayKlass");
+     metadataTypeArray[10] = db.lookupType("InlineKlass");
    }
  
    public FileMapHeader getHeader() {
      return headerObj;
    }
< prev index next >