public final class HeapSummary extends Object
| Modifier and Type | Method and Description |
|---|---|
long |
getAliveBytes()
Returns the number of bytes used by alive object instances.
|
long |
getAliveInstances()
Returns the number of objects that are alive (i.e.
|
long |
getTotalBytes()
Returns the total number of bytes allocated.
|
long |
getTotalInstances()
Returns the total number of allocated instances.
|
String |
toString() |
public long getTotalInstances()
public long getAliveInstances()
public long getTotalBytes()
public long getAliveBytes()