-
Bug
-
Resolution: Won't Fix
-
P3
-
6
-
generic
-
generic
HPROF: Assumes incorrect static field index, using instance field index definition
The JVMTI spec states that the static field index returned during heap iterations and the object reference callback is a different kind of field index than the instance index.
Both HPROF and the JDK 5.0 implementation of JVMTI are using the instance field index definition instead of the static field index definition. Once the JVM TI implementation is fixed, HPROF needs to adapt.
It may be necessary to make this change in HPROF conditional on the specific release of the JVMTI implementation inside the VM, this remains to be seen.
The JVMTI spec states that the static field index returned during heap iterations and the object reference callback is a different kind of field index than the instance index.
Both HPROF and the JDK 5.0 implementation of JVMTI are using the instance field index definition instead of the static field index definition. Once the JVM TI implementation is fixed, HPROF needs to adapt.
It may be necessary to make this change in HPROF conditional on the specific release of the JVMTI implementation inside the VM, this remains to be seen.