7112478: after 7105605 JRuby bench_define_method_methods.rb fails with NPE

Fixed several EA issues with Connection Graph construction.

Reviewed-by: never, twisti
This commit is contained in:
Vladimir Kozlov 2011-11-28 15:46:31 -08:00
parent 07d9df5a7f
commit e187503af0
5 changed files with 248 additions and 82 deletions

View file

@ -1748,7 +1748,7 @@ void CompileBroker::invoke_compiler_on_method(CompileTask* task) {
tty->print("%4d ", compile_id); // print compilation number
tty->print("%s ", (is_osr ? "%" : " "));
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());
tty->print_cr("size: %d time: %d inlined: %d bytes", code_size, (int)time.milliseconds(), task->num_inlined_bytecodes());
}
if (compilable == ciEnv::MethodCompilable_never) {