Interface IMCOldObject

All Known Implementing Classes:
MCOldObject

public interface IMCOldObject
Class for representing an object on the heap in Mission Control.
  • Method Summary

    Modifier and Type
    Method
    Description
    The address of the object, used for identity purposes.
    Returns a description of the object.
    Returns the object that refers to this object in the heap reference chain.
    If the object is referred to by an object in an array it returns the information about that array, otherwise it returns null.
    If the object is referred to by an object in a field it returns a representation of the field, null otherwise.
    int
    Returns the number of steps away in the reference chain this object is from the next object referring to it.
    The type of the object, as an IMCType
  • Method Details

    • getAddress

      IQuantity getAddress()
      The address of the object, used for identity purposes.
      Returns:
      the address of the object
    • getType

      IMCType getType()
      The type of the object, as an IMCType
      Returns:
      the type of the object
    • getReferrerArray

      IMCOldObjectArray getReferrerArray()
      If the object is referred to by an object in an array it returns the information about that array, otherwise it returns null.
      Returns:
      a representation of the array data for the object referring to this old object
    • getReferrerField

      IMCOldObjectField getReferrerField()
      If the object is referred to by an object in a field it returns a representation of the field, null otherwise.
      Returns:
      a representation of the field that refers to this object
    • getReferrerSkip

      int getReferrerSkip()
      Returns the number of steps away in the reference chain this object is from the next object referring to it. If this is greater than 0, it means that there are objects between this one and the referrer that were omitted when committing the traces to the Flight Recording file.
      Returns:
      the number of steps between this object and the next one towards the root in the reference chain
    • getDescription

      String getDescription()
      Returns a description of the object.
      Returns:
      the object description
    • getReferrer

      IMCOldObject getReferrer()
      Returns the object that refers to this object in the heap reference chain.
      Returns:
      the object that refers to this object