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

HPROF: Assumes incorrect static field index, using instance field index definition

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: 5.0u7
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ohair Kelly Ohair (Inactive)
              Reporter:
              ohair Kelly Ohair (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: