public static class UnreachableObjectsHistogram.Record extends Object implements Serializable
Constructor and Description |
---|
UnreachableObjectsHistogram.Record(String className,
int nrOfObjects,
long sizeOfObjects)
Details about a particular class
|
UnreachableObjectsHistogram.Record(String className,
long classAddress,
int nrOfObjects,
long sizeOfObjects)
Details about a particular class
|
Modifier and Type | Method and Description |
---|---|
long |
getClassAddress()
the actual address of the class
|
String |
getClassName()
The name of the class
|
int |
getObjectCount()
the number of instances discarded by Memory Analyzer
|
long |
getShallowHeapSize()
the total size occupied by instances of this class that were discarded
|
public UnreachableObjectsHistogram.Record(String className, long classAddress, int nrOfObjects, long sizeOfObjects)
className
- the class nameclassAddress
- the address of the class objectnrOfObjects
- the number of instancessizeOfObjects
- the total size of the instancespublic UnreachableObjectsHistogram.Record(String className, int nrOfObjects, long sizeOfObjects)
className
- the class namenrOfObjects
- the number of instancessizeOfObjects
- the total size of the instancespublic String getClassName()
public int getObjectCount()
public long getShallowHeapSize()
public long getClassAddress()