comparison src/share/vm/opto/c2compiler.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
102 int entry_bci) { 102 int entry_bci) {
103 if (!is_initialized()) { 103 if (!is_initialized()) {
104 initialize(); 104 initialize();
105 } 105 }
106 bool subsume_loads = true; 106 bool subsume_loads = true;
107 bool do_escape_analysis = DoEscapeAnalysis; 107 bool do_escape_analysis = DoEscapeAnalysis &&
108 !(env->jvmti_can_hotswap_or_post_breakpoint() ||
109 env->jvmti_can_examine_or_deopt_anywhere());
108 while (!env->failing()) { 110 while (!env->failing()) {
109 // Attempt to compile while subsuming loads into machine instructions. 111 // Attempt to compile while subsuming loads into machine instructions.
110 Compile C(env, this, target, entry_bci, subsume_loads, do_escape_analysis); 112 Compile C(env, this, target, entry_bci, subsume_loads, do_escape_analysis);
111 113
112 // Check result and retry if appropriate. 114 // Check result and retry if appropriate.