comparison agent/doc/clhsdb.html @ 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 a61af66fc99e
children bd7a7ce2e264
comparison
equal deleted inserted replaced
6724:36d1d483d5d6 6725:da91efe96a93
36 <code> 36 <code>
37 Available commands: 37 Available commands:
38 assert true | false <font color="red">turn on/off asserts in SA code</font> 38 assert true | false <font color="red">turn on/off asserts in SA code</font>
39 attach pid | exec core <font color="red">attach SA to a process or core</font> 39 attach pid | exec core <font color="red">attach SA to a process or core</font>
40 class name <font color="red">find a Java class from debuggee and print oop</font> 40 class name <font color="red">find a Java class from debuggee and print oop</font>
41 classes <font color="red">print all loaded Java classes with klassOop</font> 41 classes <font color="red">print all loaded Java classes with Klass*</font>
42 detach <font color="red">detach SA from current target</font> 42 detach <font color="red">detach SA from current target</font>
43 dis address [ length ] <font color="red">disassemble (sparc/x86) specified number of instructions from given address</font> 43 dis address [ length ] <font color="red">disassemble (sparc/x86) specified number of instructions from given address</font>
44 dumpclass { address | name } [ directory ] <font color="red">dump .class file for given klassOop or class name</font> 44 dumpclass { address | name } [ directory ] <font color="red">dump .class file for given Klass* or class name</font>
45 dumpheap [ file ] <font color="red">dump heap in hprof binary format</font> 45 dumpheap [ file ] <font color="red">dump heap in hprof binary format</font>
46 echo [ true | false ] <font color="red">turn on/off command echo mode</font> 46 echo [ true | false ] <font color="red">turn on/off command echo mode</font>
47 examine [ address/count ] | [ address,address] <font color="red">show contents of memory from given address</font> 47 examine [ address/count ] | [ address,address] <font color="red">show contents of memory from given address</font>
48 field [ type [ name fieldtype isStatic offset address ] ] <font color="red">print info about a field of HotSpot type</font> 48 field [ type [ name fieldtype isStatic offset address ] ] <font color="red">print info about a field of HotSpot type</font>
49 findpc address <font color="red">print info. about pointer location</font> 49 findpc address <font color="red">print info. about pointer location</font>
50 flags [ flag ] <font color="red">show all -XX flag name value pairs. or just show given flag</font> 50 flags [ flag ] <font color="red">show all -XX flag name value pairs. or just show given flag</font>
51 help [ command ] <font color="red">print help message for all commands or just given command</font> 51 help [ command ] <font color="red">print help message for all commands or just given command</font>
52 history <font color="red">show command history. usual !command-number syntax works.</font> 52 history <font color="red">show command history. usual !command-number syntax works.</font>
53 inspect expression <font color="red">inspect a given oop</font> 53 inspect expression <font color="red">inspect a given oop</font>
54 jdis address <font color="red">show bytecode disassembly of a given methodOop</font> 54 jdis address <font color="red">show bytecode disassembly of a given Method*</font>
55 jhisto <font color="red">show Java heap histogram</font> 55 jhisto <font color="red">show Java heap histogram</font>
56 jseval script <font color="red">evaluate a given string as JavaScript code</font> 56 jseval script <font color="red">evaluate a given string as JavaScript code</font>
57 jsload file <font color="red">load and evaluate a JavaScript file</font> 57 jsload file <font color="red">load and evaluate a JavaScript file</font>
58 jstack [-v] <font color="red">show Java stack trace of all Java threads. -v is verbose mode</font> 58 jstack [-v] <font color="red">show Java stack trace of all Java threads. -v is verbose mode</font>
59 livenmethods <font color="red">show all live nmethods</font> 59 livenmethods <font color="red">show all live nmethods</font>
60 mem address [ length ] <font color="red">show contents of memory -- also shows closest ELF/COFF symbol if found</font> 60 mem address [ length ] <font color="red">show contents of memory -- also shows closest ELF/COFF symbol if found</font>
61 pmap <font color="red">show Solaris pmap-like output</font> 61 pmap <font color="red">show Solaris pmap-like output</font>
62 print expression <font color="red">print given klassOop, methodOop or arbitrary address</font> 62 print expression <font color="red">print given Klass*, Method* or arbitrary address</font>
63 printas type expression <font color="red">print given address as given HotSpot type. eg. print JavaThread &lt;address&gt;</font> 63 printas type expression <font color="red">print given address as given HotSpot type. eg. print JavaThread &lt;address&gt;</font>
64 printstatics [ type ] <font color="red">print static fields of given HotSpot type (or all types if none specified)</font> 64 printstatics [ type ] <font color="red">print static fields of given HotSpot type (or all types if none specified)</font>
65 pstack [-v] <font color="red">show mixed mode stack trace for all Java, non-Java threads. -v is verbose mode</font> 65 pstack [-v] <font color="red">show mixed mode stack trace for all Java, non-Java threads. -v is verbose mode</font>
66 quit <font color="red">quit CLHSDB tool</font> 66 quit <font color="red">quit CLHSDB tool</font>
67 reattach <font color="red">detach and re-attach SA to current target</font> 67 reattach <font color="red">detach and re-attach SA to current target</font>