Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
2018:642e54d1850a | 2019:09b4dd4f152b |
---|---|
205 // return it in all cases for now as it might be useful for stack | 205 // return it in all cases for now as it might be useful for stack |
206 // traces and tools as well | 206 // traces and tools as well |
207 GrowableArray<MonitorInfo*> *monitors = new GrowableArray<MonitorInfo*>(1); | 207 GrowableArray<MonitorInfo*> *monitors = new GrowableArray<MonitorInfo*>(1); |
208 // Casting away const | 208 // Casting away const |
209 frame& fr = (frame&) _fr; | 209 frame& fr = (frame&) _fr; |
210 MonitorInfo* info = new MonitorInfo(fr.compiled_synchronized_native_monitor_owner(nm), | 210 MonitorInfo* info = new MonitorInfo( |
211 fr.compiled_synchronized_native_monitor(nm), false, false); | 211 fr.get_native_receiver(), fr.get_native_monitor(), false, false); |
212 monitors->push(info); | 212 monitors->push(info); |
213 return monitors; | 213 return monitors; |
214 } | 214 } |
215 GrowableArray<MonitorValue*>* monitors = scope()->monitors(); | 215 GrowableArray<MonitorValue*>* monitors = scope()->monitors(); |
216 if (monitors == NULL) { | 216 if (monitors == NULL) { |