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

Add GetLocalInstance() function to JVMTI 1.2

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • hs20
    • hs20
    • hotspot
    • None
    • b04
    • generic
    • generic
    • Verified

        Add GetLocalInstance function to JVMTI 1.2:

        jvmtiError GetLocalInstance(jvmtiEnv* env, jthread thread, jint depth, jobject* value_ptr);

        Calling GetLocalInstance() is equivalent to calling GetLocalObject() call for slot 0 except:
        (1) A call to GetLocalInstance() succeeds and retrieves an object out of a native frame where GetLocalObject() would return JVMTI_ERROR_OPAQUE_FRAME.
        (2) GetLocalInstance() returns JVMTI_ERROR_INVALID_SLOT if called on a static method frame.

              kamg Keith Mcguigan (Inactive)
              kamg Keith Mcguigan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: