Class PathsFromGCRootsTree


  • public final class PathsFromGCRootsTree
    extends java.lang.Object
    This class holds the paths from one single object to its GC roots.
    No Instantiate:
    • Constructor Detail

      • PathsFromGCRootsTree

        public PathsFromGCRootsTree​(int ownId,
                                    java.util.HashMap<java.lang.Integer,​PathsFromGCRootsTree> objectInboundReferers,
                                    int[] objectIds)
    • Method Detail

      • getOwnId

        public int getOwnId()
        Get object being the root for this tree.
        Returns:
        object being the root for this tree
      • getObjectIds

        public int[] getObjectIds()
        Get referencing objects.
        Returns:
        referencing objects
      • getBranch

        public PathsFromGCRootsTree getBranch​(int objId)
        Get sub tree for a referencing object.
        Parameters:
        objId - referencing object from which on the sub tree is requested
        Returns:
        sub tree for a referencing object