Add GetLocalInstance() function to JVMTI 1.2

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • hs20
    • Affects Version/s: hs20
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: