Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5109511

JVMTI spec must state the object relationships reported during heap iteration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • hotspot
    • b85
    • generic
    • generic

      The specification for IterateOverReachableObjects and IterateOverObjectsReachableFromObject do not state the object relationship that must be reported. The spec needs to state :-

      1. Instance objects report references to all non-null instance fields.

      2. Instance object report a reference to the object type (class).

      3. Classes report a reference to the superclass and directly implemented interfaces.

      4. Classes report a reference to the class loader, protection domain, signers, and resolved entries in the constant pool.

      5. Classes report a reference to each non-null static field.

      6. Array report a reference to the array type and each non-null array element.

      7. Primitive arrays report a reference to the array type.

            rfield Robert Field (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: