comparison src/share/vm/prims/jvmti.xml @ 2019:09b4dd4f152b

7004582: Add GetThisObject() function to JVMTI 1.2 Summary: Add 'GetThisObject' function Reviewed-by: never, coleenp
author kamg
date Thu, 09 Dec 2010 15:04:26 -0500
parents 684faacebf20
children b1a2afa37ec4
comparison
equal deleted inserted replaced
2018:642e54d1850a 2019:09b4dd4f152b
5647 Not a visible frame 5647 Not a visible frame
5648 </error> 5648 </error>
5649 </errors> 5649 </errors>
5650 </function> 5650 </function>
5651 5651
5652 <function id="GetLocalInstance" num="155" since="1.2">
5653 <synopsis>Get Local Instance</synopsis>
5654 <description>
5655 This function can be used to retrieve the value of the local object
5656 variable at slot 0 (the "<code>this</code>" object) from non-static
5657 frames. This function can retrieve the "<code>this</code>" object from
5658 native method frames, whereas <code>GetLocalObject()</code> would
5659 return <code>JVMTI_ERROR_OPAQUE_FRAME</code> in those cases.
5660 </description>
5661 <origin>new</origin>
5662 <capabilities>
5663 <required id="can_access_local_variables"></required>
5664 </capabilities>
5665 <parameters>
5666 <param id="thread">
5667 <jthread null="current" frame="frame"/>
5668 <description>
5669 The thread of the frame containing the variable's value.
5670 </description>
5671 </param>
5672 <param id="depth">
5673 <jframeID thread="thread"/>
5674 <description>
5675 The depth of the frame containing the variable's value.
5676 </description>
5677 </param>
5678 <param id="value_ptr">
5679 <outptr><jobject/></outptr>
5680 <description>
5681 On return, points to the variable's value.
5682 </description>
5683 </param>
5684 </parameters>
5685 <errors>
5686 <error id="JVMTI_ERROR_INVALID_SLOT">
5687 If the specified frame is a static method frame.
5688 </error>
5689 </errors>
5690 </function>
5652 <function id="GetLocalInt" num="22"> 5691 <function id="GetLocalInt" num="22">
5653 <synopsis>Get Local Variable - Int</synopsis> 5692 <synopsis>Get Local Variable - Int</synopsis>
5654 <description> 5693 <description>
5655 This function can be used to retrieve the value of a local 5694 This function can be used to retrieve the value of a local
5656 variable whose type is <code>int</code>, 5695 variable whose type is <code>int</code>,