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) { |