1741 |
1741 |
1742 DTRACE_METHOD_COMPILE_END_PROBE(compiler(task->comp_level()), method, task->is_success()); |
1742 DTRACE_METHOD_COMPILE_END_PROBE(compiler(task->comp_level()), method, task->is_success()); |
1743 |
1743 |
1744 collect_statistics(thread, time, task); |
1744 collect_statistics(thread, time, task); |
1745 |
1745 |
1746 if (PrintCompilation && PrintInlining) { |
1746 if (PrintCompilation && PrintCompilation2) { |
1747 tty->print("%7d ", (int) tty->time_stamp().milliseconds()); // print timestamp |
1747 tty->print("%7d ", (int) tty->time_stamp().milliseconds()); // print timestamp |
1748 tty->print("%4d ", compile_id); // print compilation number |
1748 tty->print("%4d ", compile_id); // print compilation number |
1749 tty->print("%s ", (is_osr ? "%" : " ")); |
1749 tty->print("%s ", (is_osr ? "%" : " ")); |
1750 tty->print_cr("size: %d time: %d inlined: %d bytes", task->code()->total_size(), time.milliseconds(), task->num_inlined_bytecodes()); |
1750 int code_size = (task->code() == NULL) ? 0 : task->code()->total_size(); |
|
1751 tty->print_cr("size: %d time: %d inlined: %d bytes", code_size, time.milliseconds(), task->num_inlined_bytecodes()); |
1751 } |
1752 } |
1752 |
1753 |
1753 if (compilable == ciEnv::MethodCompilable_never) { |
1754 if (compilable == ciEnv::MethodCompilable_never) { |
1754 if (is_osr) { |
1755 if (is_osr) { |
1755 method->set_not_osr_compilable(); |
1756 method->set_not_osr_compilable(); |