|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrockit.memleak.value.InstanceReferrers
public class InstanceReferrers
Holds information about which instances that point to a certain object.
Field Summary |
---|
Fields inherited from interface com.jrockit.memleak.IInstanceReferrers |
---|
EMPTY_ARRAY |
Constructor Summary | |
---|---|
InstanceReferrers(IObjectInfo targetInfo,
IObjectInfo[] ois,
IStaticField[] staticFields,
IThreadRoot[] threadRoots,
int globalHandles)
|
Method Summary | |
---|---|
int |
getGlobalHandles()
Returns the number of global handles that refer to this instance. |
IObjectInfo[] |
getInstances()
Returns info about objects that refer to the instance. |
IStaticField[] |
getStaticFields()
Returns an array of names of all classes which have static fields that refer to this instance |
IObjectInfo |
getTargetObjectInfo()
Returns the object ID of the referree. |
IThreadRoot[] |
getThreadRoots()
Returns the threadroots that refer to this instance. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceReferrers(IObjectInfo targetInfo, IObjectInfo[] ois, IStaticField[] staticFields, IThreadRoot[] threadRoots, int globalHandles)
targetInfo
- ois
- staticFields
- threadRoots
- globalHandles
- Method Detail |
---|
public IObjectInfo getTargetObjectInfo()
IInstanceReferrers
getTargetObjectInfo
in interface IInstanceReferrers
public IObjectInfo[] getInstances()
IInstanceReferrers
getInstances
in interface IInstanceReferrers
public IStaticField[] getStaticFields()
IInstanceReferrers
getStaticFields
in interface IInstanceReferrers
public IThreadRoot[] getThreadRoots()
IInstanceReferrers
getThreadRoots
in interface IInstanceReferrers
public int getGlobalHandles()
IInstanceReferrers
getGlobalHandles
in interface IInstanceReferrers
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |