Mercurial > hg > truffle
comparison src/share/vm/runtime/frame.hpp @ 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 | f95d63e2154a |
children | 3582bf76420e |
comparison
equal
deleted
inserted
replaced
2018:642e54d1850a | 2019:09b4dd4f152b |
---|---|
252 // Find receiver out of caller's (compiled) argument list | 252 // Find receiver out of caller's (compiled) argument list |
253 oop retrieve_receiver(RegisterMap *reg_map); | 253 oop retrieve_receiver(RegisterMap *reg_map); |
254 | 254 |
255 // Return the monitor owner and BasicLock for compiled synchronized | 255 // Return the monitor owner and BasicLock for compiled synchronized |
256 // native methods so that biased locking can revoke the receiver's | 256 // native methods so that biased locking can revoke the receiver's |
257 // bias if necessary. Takes optional nmethod for this frame as | 257 // bias if necessary. This is also used by JVMTI's GetLocalInstance method |
258 // argument to avoid performing repeated lookups in code cache. | 258 // (via VM_GetReceiver) to retrieve the receiver from a native wrapper frame. |
259 BasicLock* compiled_synchronized_native_monitor (nmethod* nm = NULL); | 259 BasicLock* get_native_monitor(); |
260 oop compiled_synchronized_native_monitor_owner(nmethod* nm = NULL); | 260 oop get_native_receiver(); |
261 | 261 |
262 // Find receiver for an invoke when arguments are just pushed on stack (i.e., callee stack-frame is | 262 // Find receiver for an invoke when arguments are just pushed on stack (i.e., callee stack-frame is |
263 // not setup) | 263 // not setup) |
264 oop interpreter_callee_receiver(symbolHandle signature) { return *interpreter_callee_receiver_addr(signature); } | 264 oop interpreter_callee_receiver(symbolHandle signature) { return *interpreter_callee_receiver_addr(signature); } |
265 | 265 |