Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp Wed Nov 09 06:14:32 2011 -0800 +++ b/src/share/vm/compiler/compileBroker.cpp Wed Nov 09 07:25:51 2011 -0800 @@ -1743,11 +1743,12 @@ collect_statistics(thread, time, task); - if (PrintCompilation && PrintInlining) { + if (PrintCompilation && PrintCompilation2) { tty->print("%7d ", (int) tty->time_stamp().milliseconds()); // print timestamp tty->print("%4d ", compile_id); // print compilation number tty->print("%s ", (is_osr ? "%" : " ")); - tty->print_cr("size: %d time: %d inlined: %d bytes", task->code()->total_size(), time.milliseconds(), task->num_inlined_bytecodes()); + int code_size = (task->code() == NULL) ? 0 : task->code()->total_size(); + tty->print_cr("size: %d time: %d inlined: %d bytes", code_size, time.milliseconds(), task->num_inlined_bytecodes()); } if (compilable == ciEnv::MethodCompilable_never) {