Package org.eclipse.mat.snapshot
Class UnreachableObjectsHistogram.Record
java.lang.Object
org.eclipse.mat.snapshot.UnreachableObjectsHistogram.Record
- All Implemented Interfaces:
Serializable
- Enclosing class:
- UnreachableObjectsHistogram
Holds details about the unreachable objects for objects of one particular
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
the actual address of the classThe name of the classint
the number of instances discarded by Memory Analyzerlong
the total size occupied by instances of this class that were discarded
-
Constructor Details
-
Record
Details about a particular class- Parameters:
className
- the class nameclassAddress
- the address of the class objectnrOfObjects
- the number of instancessizeOfObjects
- the total size of the instances- Since:
- 1.0
-
Record
Details about a particular class- Parameters:
className
- the class namenrOfObjects
- the number of instancessizeOfObjects
- the total size of the instances
-
-
Method Details
-
getClassName
The name of the class- Returns:
- the class name
-
getObjectCount
public int getObjectCount()the number of instances discarded by Memory Analyzer- Returns:
- the number of instances
-
getShallowHeapSize
public long getShallowHeapSize()the total size occupied by instances of this class that were discarded- Returns:
- the total size
-
getClassAddress
public long getClassAddress()the actual address of the class- Returns:
- the class address
- Since:
- 1.0
-