1.1 --- a/src/share/vm/runtime/frame.hpp Thu Dec 09 17:53:22 2010 +0300 1.2 +++ b/src/share/vm/runtime/frame.hpp Thu Dec 09 15:04:26 2010 -0500 1.3 @@ -254,10 +254,10 @@ 1.4 1.5 // Return the monitor owner and BasicLock for compiled synchronized 1.6 // native methods so that biased locking can revoke the receiver's 1.7 - // bias if necessary. Takes optional nmethod for this frame as 1.8 - // argument to avoid performing repeated lookups in code cache. 1.9 - BasicLock* compiled_synchronized_native_monitor (nmethod* nm = NULL); 1.10 - oop compiled_synchronized_native_monitor_owner(nmethod* nm = NULL); 1.11 + // bias if necessary. This is also used by JVMTI's GetLocalInstance method 1.12 + // (via VM_GetReceiver) to retrieve the receiver from a native wrapper frame. 1.13 + BasicLock* get_native_monitor(); 1.14 + oop get_native_receiver(); 1.15 1.16 // Find receiver for an invoke when arguments are just pushed on stack (i.e., callee stack-frame is 1.17 // not setup)