- java.lang.Object
-
- com.ibm.dtfj.java.j9.JavaReference
-
- All Implemented Interfaces:
JavaReference
public class JavaReference extends Object implements JavaReference
-
-
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 JavaReference(JavaRuntime javaVM, Object source, long address, String description, int referencetype, int roottype, int reachability)
ConstructorJavaReference(JavaRuntime javaVM, 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
-
JavaReference
public JavaReference(JavaRuntime javaVM, Object source, long address, 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 heapaddress
- long Address of 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).
-
JavaReference
public JavaReference(JavaRuntime javaVM, 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).
-
-