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.
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.