comparison src/share/vm/compiler/compileBroker.cpp @ 8860:46f6f063b272

7153771: array bound check elimination for c1 Summary: when possible optimize out array bound checks, inserting predicates when needed. Reviewed-by: never, kvn, twisti Contributed-by: thomaswue <thomas.wuerthinger@oracle.com>
author roland
date Thu, 21 Mar 2013 09:27:54 +0100
parents 75a28f465a12
children b9a918201d47 b84fd7d73702
comparison
equal deleted inserted replaced
8780:98f3af397705 8860:46f6f063b272
2164 comp = compiler(CompLevel_full_optimization); 2164 comp = compiler(CompLevel_full_optimization);
2165 if (comp != NULL) { 2165 if (comp != NULL) {
2166 comp->print_timers(); 2166 comp->print_timers();
2167 } 2167 }
2168 tty->cr(); 2168 tty->cr();
2169 tty->print_cr(" Total compiled methods : %6d methods", CompileBroker::_total_compile_count);
2170 tty->print_cr(" Standard compilation : %6d methods", CompileBroker::_total_standard_compile_count);
2171 tty->print_cr(" On stack replacement : %6d methods", CompileBroker::_total_osr_compile_count);
2169 int tcb = CompileBroker::_sum_osr_bytes_compiled + CompileBroker::_sum_standard_bytes_compiled; 2172 int tcb = CompileBroker::_sum_osr_bytes_compiled + CompileBroker::_sum_standard_bytes_compiled;
2170 tty->print_cr(" Total compiled bytecodes : %6d bytes", tcb); 2173 tty->print_cr(" Total compiled bytecodes : %6d bytes", tcb);
2171 tty->print_cr(" Standard compilation : %6d bytes", CompileBroker::_sum_standard_bytes_compiled); 2174 tty->print_cr(" Standard compilation : %6d bytes", CompileBroker::_sum_standard_bytes_compiled);
2172 tty->print_cr(" On stack replacement : %6d bytes", CompileBroker::_sum_osr_bytes_compiled); 2175 tty->print_cr(" On stack replacement : %6d bytes", CompileBroker::_sum_osr_bytes_compiled);
2173 int bps = (int)(tcb / CompileBroker::_t_total_compilation.seconds()); 2176 int bps = (int)(tcb / CompileBroker::_t_total_compilation.seconds());