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

JVMTI Spec: Change FollowReferences to define one scheme for field index values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 6
    • hotspot
    • None
    • 6
    • b53
    • generic
    • generic

      FollowReferences specifies two schemes for computing field index values reported in the referrer_info parameter of the jvmtiHeapObjectReferenceCallback.

      The index for static fields are based on the directly declared fields in the class that defines the field. The index for instance fields take account of the inherited fields.

      The spec should be changed to specify one scheme. A consistent scheme will make it easier for the agent to compute the field index values correctly.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: