comparison agent/src/share/classes/sun/jvm/hotspot/jdi/VirtualMachineImpl.java @ 6725:da91efe96a93

6964458: Reimplement class meta-data storage to use native memory Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author coleenp
date Sat, 01 Sep 2012 13:25:18 -0400
parents 49036505ab5f
children 5a98bf7d847b
comparison
equal deleted inserted replaced
6724:36d1d483d5d6 6725:da91efe96a93
445 newRefType = new InterfaceTypeImpl(this, (InstanceKlass)kk); 445 newRefType = new InterfaceTypeImpl(this, (InstanceKlass)kk);
446 } else { 446 } else {
447 newRefType = new ClassTypeImpl(this, (InstanceKlass)kk); 447 newRefType = new ClassTypeImpl(this, (InstanceKlass)kk);
448 } 448 }
449 } else { 449 } else {
450 throw new RuntimeException("should not reach here"); 450 throw new RuntimeException("should not reach here:" + kk);
451 } 451 }
452 452
453 typesByID.put(kk, newRefType); 453 typesByID.put(kk, newRefType);
454 typesBySignature.add(newRefType); 454 typesBySignature.add(newRefType);
455 return newRefType; 455 return newRefType;