comparison agent/src/share/classes/sun/jvm/hotspot/oops/GenerateOopMap.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 8150fa46d2ed
children
comparison
equal deleted inserted replaced
6724:36d1d483d5d6 6725:da91efe96a93
611 // accessors in ConstantPool and ConstantPoolCache) 611 // accessors in ConstantPool and ConstantPoolCache)
612 int idx = currentBC.hasIndexU4() ? currentBC.getIndexU4() : currentBC.getIndexU2(); 612 int idx = currentBC.hasIndexU4() ? currentBC.getIndexU4() : currentBC.getIndexU2();
613 tty.print(" idx " + idx); 613 tty.print(" idx " + idx);
614 /* 614 /*
615 int idx = currentBC.getIndexU2(); 615 int idx = currentBC.getIndexU2();
616 constantPoolOop cp = method().constants(); 616 ConstantPool* cp = method().constants();
617 int nameAndTypeIdx = cp.name_and_type_ref_index_at(idx); 617 int nameAndTypeIdx = cp.name_and_type_ref_index_at(idx);
618 int signatureIdx = cp.signature_ref_index_at(nameAndTypeIdx); 618 int signatureIdx = cp.signature_ref_index_at(nameAndTypeIdx);
619 Symbol* signature = cp.symbol_at(signatureIdx); 619 Symbol* signature = cp.symbol_at(signatureIdx);
620 tty.print("%s", signature.as_C_string()); 620 tty.print("%s", signature.as_C_string());
621 */ 621 */