public class ClassHistogramVisitor extends Object implements ObjectVisitor
Constructor and Description |
---|
ClassHistogramVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
epilogue() |
void |
prologue() |
void |
reset()
Reset the counters of all classes.
|
protected static void |
toLog(Log log,
com.oracle.svm.core.heap.ClassHistogramVisitor.HistogramEntry[] entries) |
void |
toLogByCount(Log log,
long minimum)
Log all the entries, sorted by instance count.
|
void |
toLogByName(Log log,
long minimum)
Log all the entries, sorted by class name.
|
void |
toLogBySpace(Log log,
long minimum,
boolean increasing)
Log all the entries, sorted by increasing or decreasing occupied space.
|
boolean |
visitObject(Object o)
Visit an Object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitObjectInline
public boolean visitObject(Object o)
ObjectVisitor
visitObject
in interface ObjectVisitor
o
- The Object to be visited.public void prologue()
public void epilogue()
public void reset()
public void toLogByName(Log log, long minimum)
public void toLogByCount(Log log, long minimum)
public void toLogBySpace(Log log, long minimum, boolean increasing)
protected static void toLog(Log log, com.oracle.svm.core.heap.ClassHistogramVisitor.HistogramEntry[] entries)