- java.lang.Object
-
- com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaReference
-
- All Implemented Interfaces:
JavaReference
public class DTFJJavaReference extends Object implements JavaReference
JavaReference is intended to represent either a standard reference within a java heap, for example a reference from one object to another, or a root. A root is a reference that is held outside of the heap, in the Java stack or within the JVM itself.
-
-
Field Summary
-
Fields declared in interface com.ibm.dtfj.java.JavaReference
HEAP_ROOT_CLASSLOADER, HEAP_ROOT_FINALIZABLE_OBJ, HEAP_ROOT_JNI_GLOBAL, HEAP_ROOT_JNI_LOCAL, HEAP_ROOT_MONITOR, HEAP_ROOT_OTHER, HEAP_ROOT_STACK_LOCAL, HEAP_ROOT_STRINGTABLE, HEAP_ROOT_SYSTEM_CLASS, HEAP_ROOT_THREAD, HEAP_ROOT_UNFINALIZED_OBJ, HEAP_ROOT_UNKNOWN, REACHABILITY_PHANTOM, REACHABILITY_SOFT, REACHABILITY_STRONG, REACHABILITY_UNKNOWN, REACHABILITY_WEAK, REFERENCE_ARRAY_ELEMENT, REFERENCE_ASSOCIATED_CLASS, REFERENCE_CLASS, REFERENCE_CLASS_LOADER, REFERENCE_CLASS_OBJECT, REFERENCE_CONSTANT_POOL, REFERENCE_FIELD, REFERENCE_INTERFACE, REFERENCE_LOADED_CLASS, REFERENCE_PROTECTION_DOMAIN, REFERENCE_SIGNERS, REFERENCE_STATIC_FIELD, REFERENCE_SUPERCLASS, REFERENCE_UNKNOWN, REFERENCE_UNUSED_14
-
-
Constructor Summary
Constructors Constructor Description DTFJJavaReference(Object source, Object target, String description, int referencetype, int roottype, int reachability)
Constructor
-
Method Summary
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.dtfj.java.JavaReference
getDescription, getReachability, getReferenceType, getRootType, getSource, getTarget, isClassReference, isObjectReference
-
-
-
-
Constructor Detail
-
DTFJJavaReference
public DTFJJavaReference(Object source, Object target, String description, int referencetype, int roottype, int reachability)
Constructor- Parameters:
javaVM
- JavaRuntimesource
- Object The source of this reference/root, for example the JVM or an object on the heaptarget
- Object The target object of this reference/root.description
- Stringreferencetype
- int Mutually exclusive with respect to roottype.roottype
- int Mutually exclusive with respect to referencetype.reachability
- int The strength of the reference (this helps the GC in selection of objects for collection).
-
-