Class ThreadToLocalReference

  • All Implemented Interfaces:
    java.io.Serializable

    public class ThreadToLocalReference
    extends PseudoReference
    The class represents a references from a running thread object to objects which are local for this thread. Such objects could be for example java local variables, objects used for synchronization in this thread, etc...
    See Also:
    Serialized Form
    • Constructor Detail

      • ThreadToLocalReference

        public ThreadToLocalReference​(ISnapshot snapshot,
                                      long address,
                                      java.lang.String name,
                                      int localObjectId,
                                      GCRootInfo[] gcRootInfo)
        Create a thread to local reference
        Parameters:
        snapshot - the snapshot
        address - the address of the object
        name - the description of the reference e.g. the root types surrounded by '<' '>'
        localObjectId - the local reference object id
        gcRootInfo - a description of the root type e.g. Java local etc.
    • Method Detail

      • getGcRootInfo

        public GCRootInfo[] getGcRootInfo()
        The description of the thread root information.
        Returns:
        an array of GC information for the local reference