comparison src/share/tools/whitebox/sun/hotspot/WhiteBox.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 51612f0c0a79
children 4102b59539ce
comparison
equal deleted inserted replaced
6724:36d1d483d5d6 6725:da91efe96a93
61 61
62 // Memory 62 // Memory
63 public native long getObjectAddress(Object o); 63 public native long getObjectAddress(Object o);
64 public native int getHeapOopSize(); 64 public native int getHeapOopSize();
65 65
66 // Runtime
67 // Make sure class name is in the correct format
68 public boolean isClassAlive(String name) {
69 return isClassAlive0(name.replace('.', '/'));
70 }
71 private native boolean isClassAlive0(String name);
72
66 // G1 73 // G1
67 public native boolean g1InConcurrentMark(); 74 public native boolean g1InConcurrentMark();
68 public native boolean g1IsHumongous(Object o); 75 public native boolean g1IsHumongous(Object o);
69 public native long g1NumFreeRegions(); 76 public native long g1NumFreeRegions();
70 public native int g1RegionSize(); 77 public native int g1RegionSize();