United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7004582 Add GetLocalInstance() function to JVMTI 1.2
JDK-7004582 : Add GetLocalInstance() function to JVMTI 1.2

Details
Type:
Enhancement
Submit Date:
2010-12-03
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
jvmti
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs20
Fixed Versions:
hs20 (b04)

Related Reports
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/09b4dd4f152b
                                     
2010-12-09
EVALUATION

http://hg.openjdk.java.net/jdk7/build/hotspot/rev/09b4dd4f152b
                                     
2010-12-25



Hardware and Software, Engineered to Work Together