comparison src/share/vm/runtime/deoptimization.cpp @ 818:b109e761e927

6837472: com/sun/jdi/MonitorFrameInfo.java fails with AggressiveOpts in 6u14 Summary: Disable escape analysis when jvmti/debugger is used. Add support for EA ibto SA. Reviewed-by: never
author kvn
date Tue, 09 Jun 2009 16:19:10 -0700
parents d1605aabd0a1
children bd02caa94611
comparison
equal deleted inserted replaced
793:eacd97c88873 818:b109e761e927
931 931
932 static void collect_monitors(compiledVFrame* cvf, GrowableArray<Handle>* objects_to_revoke) { 932 static void collect_monitors(compiledVFrame* cvf, GrowableArray<Handle>* objects_to_revoke) {
933 GrowableArray<MonitorInfo*>* monitors = cvf->monitors(); 933 GrowableArray<MonitorInfo*>* monitors = cvf->monitors();
934 for (int i = 0; i < monitors->length(); i++) { 934 for (int i = 0; i < monitors->length(); i++) {
935 MonitorInfo* mon_info = monitors->at(i); 935 MonitorInfo* mon_info = monitors->at(i);
936 if (mon_info->owner() != NULL && !mon_info->eliminated()) { 936 if (!mon_info->eliminated() && mon_info->owner() != NULL) {
937 objects_to_revoke->append(Handle(mon_info->owner())); 937 objects_to_revoke->append(Handle(mon_info->owner()));
938 } 938 }
939 } 939 }
940 } 940 }
941 941