Mercurial > hg > graal-compiler
comparison src/share/vm/compiler/compileBroker.cpp @ 4064:670a74b863fc
7107042: assert(no_dead_loop) failed: dead loop detected
Summary: Use dead nodes elimination code in PhaseIdealLoop before executing EA.
Reviewed-by: never, twisti
author | kvn |
---|---|
date | Wed, 09 Nov 2011 07:25:51 -0800 |
parents | d8cb48376797 |
children | cc81b9c09bbb |
comparison
equal
deleted
inserted
replaced
4063:7e0e43cf86d6 | 4064:670a74b863fc |
---|---|
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(); |