Module openj9.dtfj

Class JavaReference

    • Constructor Detail

      • 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).