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

JVMTI Spec: heap iteration should support access to primitive and primitive array fields

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 6
    • 6
    • hotspot
    • None
    • b51
    • generic
    • generic

    Description

      Currently the heap functions in JVMTI do not allow an agent to access the primitive or primitive array fields of an object. When doing memory analysis a primitive can't keep an object alive but it may be useful to see the char[] value of a string.
      ###@###.### 2004-11-16 16:10:07 GMT


      In addition it would be desirable to be able to determine an array length during the iteration - this is important if a profiler doesn't instrument the array allocation site (newarray bytecode) and is tagging objects as they are encountered during the iteration.

      Attachments

        Issue Links

          Activity

            People

              alanb Alan Bateman
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: