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

JVMTI Spec: Heap callback events -- primitive array/string values must be const

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • hotspot
    • None
    • 6
    • b53
    • generic
    • generic

      The "void* elements" parameter of jvmtiArrayPrimitiveValueCallback and the "jchar* value" of jvmtiStringPrimitiveValueCallback must be const pointers as they are direct pointers into VM memory. A comment should also be added explaining this, and that they must be copied if they are to used outside of the callback.

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: