Package org.eclipse.mat.snapshot.model
Class PseudoReference
- java.lang.Object
-
- org.eclipse.mat.snapshot.model.ObjectReference
-
- org.eclipse.mat.snapshot.model.NamedReference
-
- org.eclipse.mat.snapshot.model.PseudoReference
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ThreadToLocalReference
public class PseudoReference extends NamedReference
Value of a field if it is a pseudo references. Some references do not actually exist in the heap dump but are automatically generated because they are maintained by the JVM. Examples are the link from an instance to the class and from the class to the class loader.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PseudoReference(ISnapshot snapshot, long address, java.lang.String name)
Create a PseudoReference
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
Methods inherited from class org.eclipse.mat.snapshot.model.NamedReference
getName
-
Methods inherited from class org.eclipse.mat.snapshot.model.ObjectReference
getObject, getObjectAddress, getObjectId, toString
-
-
-
-
Constructor Detail
-
PseudoReference
public PseudoReference(ISnapshot snapshot, long address, java.lang.String name)
Create a PseudoReference- Parameters:
snapshot
- the dumpaddress
- the address of the objectname
- the description of the reference e.g. <class>, <classloader>
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classNamedReference
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classNamedReference
-
-