SourceForge.net Logo
Home


Overview


Using HDUMP


Usage: hdump [options]

 -f hdfile
 -i        : interactive ShortestPath mode
 -r oid    : all objects reachable from oid using back
           : references (may be specified up to 32 times)
 -diff m n : delta between heapdumps m and n using log-hd.n+
             (may be specified up to 32 times)(JVMTI dumps only)
 -rdiff m n: delta between obj tags m and n
             (may be specified up to 32 times)(JVMTI dumps only)
 -iobj m   : ignore object w/ tag m when processing paths
             (may be specified up to 32 times)
 -iref m n : ignore references from m to n when processing paths
             (may be specified up to 32 times)
 -icls c   : ignore class with name c when processing paths
             (may be specified up to 32 times)
 -anc m,n..: find common ancestor of a comma-separated list of
             object tags, outputs to heapsum file
 -clsanc c : find common ancestors of all instances of class c
             outputs to heapsum file
 -nosoft   : do not expand java/lang/ref/SoftReference objects
 -noweak   : do not expand java/lang/ref/WeakReference objects
 -implied  : include roots implied by class references
 -compact  : suppress formatted and padded output
 -padded   : add padding to the lattice file
 -phd      : create log-phd from the log-hd input file
 -writecnm : create log-hdcnm file
 -unkroots : include all roots from log-hd input file
             including those listed for unknown reasons
 -verbose  : verbose messages to stderr
 -verbmsg  : verbose messages to hdump-msg

Results: 

 heapsum   - trace back(obj->root) of selected objects
 b1st      - Breadth first tree from All roots.
             Objects are minimum distance from any root
 b2nd      - All objects reachable via back references
             Output from -r and interactive r commands
 b3rd      - Breadth first tree TO a selected set of objects
             only FROM the roots that referenced them.
             Output from -diff hd.m hd.n and -rdiff m n
 liveobjs  - All objects reachable via roots
 orphans   - All objects not reachable via roots
 lattice   - Parent/Self/Child info
 roots     - All roots of the heap (-verbose only)
 log-hdcnm - Class summary file (-writecnm only)


Delta HDUMP


PhdReader


Home