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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: hotspot
    • None
    • b51
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: