diff src/share/vm/runtime/vframe_hp.cpp @ 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 06f017f7daa7 d2a62e0f25eb
line wrap: on
line diff
--- a/src/share/vm/runtime/vframe_hp.cpp	Thu Dec 09 17:53:22 2010 +0300
+++ b/src/share/vm/runtime/vframe_hp.cpp	Thu Dec 09 15:04:26 2010 -0500
@@ -207,8 +207,8 @@
     GrowableArray<MonitorInfo*> *monitors = new GrowableArray<MonitorInfo*>(1);
     // Casting away const
     frame& fr = (frame&) _fr;
-    MonitorInfo* info = new MonitorInfo(fr.compiled_synchronized_native_monitor_owner(nm),
-                                        fr.compiled_synchronized_native_monitor(nm), false, false);
+    MonitorInfo* info = new MonitorInfo(
+        fr.get_native_receiver(), fr.get_native_monitor(), false, false);
     monitors->push(info);
     return monitors;
   }