Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/tools/PStack.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 | b87e5a681416 |
children | 5ed317b25e23 |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
32 import sun.jvm.hotspot.debugger.cdbg.*; | 32 import sun.jvm.hotspot.debugger.cdbg.*; |
33 import sun.jvm.hotspot.oops.*; | 33 import sun.jvm.hotspot.oops.*; |
34 import sun.jvm.hotspot.runtime.*; | 34 import sun.jvm.hotspot.runtime.*; |
35 | 35 |
36 public class PStack extends Tool { | 36 public class PStack extends Tool { |
37 // in non-verbose mode, methodOops are not printed in java frames | 37 // in non-verbose mode, Method*s are not printed in java frames |
38 public PStack(boolean v, boolean concurrentLocks) { | 38 public PStack(boolean v, boolean concurrentLocks) { |
39 this.verbose = v; | 39 this.verbose = v; |
40 this.concurrentLocks = concurrentLocks; | 40 this.concurrentLocks = concurrentLocks; |
41 } | 41 } |
42 | 42 |
245 if (lineNumber != -1) { | 245 if (lineNumber != -1) { |
246 sb.append(" line:" + lineNumber); | 246 sb.append(" line:" + lineNumber); |
247 } | 247 } |
248 | 248 |
249 if (verbose) { | 249 if (verbose) { |
250 sb.append(" methodOop:" + method.getHandle()); | 250 sb.append(" Method*:" + method.getAddress()); |
251 } | 251 } |
252 | 252 |
253 if (vf.isCompiledFrame()) { | 253 if (vf.isCompiledFrame()) { |
254 sb.append(" (Compiled frame"); | 254 sb.append(" (Compiled frame"); |
255 if (vf.isDeoptimized()) { | 255 if (vf.isDeoptimized()) { |