Module openj9.dtfj

Class JavaReference

java.lang.Object
com.ibm.dtfj.java.j9.JavaReference
All Implemented Interfaces:
JavaReference

public class JavaReference extends Object implements JavaReference
  • Constructor Details

    • JavaReference

      public JavaReference(JavaRuntime javaVM, Object source, long address, String description, int referencetype, int roottype, int reachability)
      Constructor
      Parameters:
      javaVM - JavaRuntime
      source - Object The source of this reference/root, for example the JVM or an object on the heap
      address - long Address of the target object of this reference/root.
      description - String
      referencetype - 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 - JavaRuntime
      source - Object The source of this reference/root, for example the JVM or an object on the heap
      target - Object The target object of this reference/root.
      description - String
      referencetype - 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).
  • Method Details