mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
7004582: Add GetThisObject() function to JVMTI 1.2
Add 'GetThisObject' function Reviewed-by: never, coleenp
This commit is contained in:
parent
d344b51209
commit
de27a1608c
9 changed files with 156 additions and 69 deletions
|
@ -254,10 +254,10 @@ class frame VALUE_OBJ_CLASS_SPEC {
|
|||
|
||||
// Return the monitor owner and BasicLock for compiled synchronized
|
||||
// native methods so that biased locking can revoke the receiver's
|
||||
// bias if necessary. Takes optional nmethod for this frame as
|
||||
// argument to avoid performing repeated lookups in code cache.
|
||||
BasicLock* compiled_synchronized_native_monitor (nmethod* nm = NULL);
|
||||
oop compiled_synchronized_native_monitor_owner(nmethod* nm = NULL);
|
||||
// bias if necessary. This is also used by JVMTI's GetLocalInstance method
|
||||
// (via VM_GetReceiver) to retrieve the receiver from a native wrapper frame.
|
||||
BasicLock* get_native_monitor();
|
||||
oop get_native_receiver();
|
||||
|
||||
// Find receiver for an invoke when arguments are just pushed on stack (i.e., callee stack-frame is
|
||||
// not setup)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue