org.eclipse.mat.parser.model
Class XGCRootInfo
java.lang.Object
org.eclipse.mat.snapshot.model.GCRootInfo
org.eclipse.mat.parser.model.XGCRootInfo
- All Implemented Interfaces:
- Serializable
public final class XGCRootInfo
- extends GCRootInfo
Holds details about a garbage collection root.
Allows the object id and the context id (the source reference) to be set
once the snapshot is reindexed.
- See Also:
- Serialized Form
|
Constructor Summary |
XGCRootInfo(long objectAddress,
long contextAddress,
int type)
Create a record of one GC root. |
XGCRootInfo
public XGCRootInfo(long objectAddress,
long contextAddress,
int type)
- Create a record of one GC root.
- Parameters:
objectAddress - the object being retainedcontextAddress - the object doing the retention such as a threadtype - the type GCRootInfo.Type of the root such as Java local, system class.
setObjectId
public void setObjectId(int objectId)
- Parameters:
objectId - the object- See Also:
GCRootInfo.getObjectId()
setContextId
public void setContextId(int objectId)
- Parameters:
objectId - - See Also:
GCRootInfo.getContextId()