8043638: Multiple compilation attempts break LogCompulation, lead to confusing PrintInlining output

Dumps inlining only for last compilation attempt. Fix LogCompilation tool so it handles multiple compilation attempts.

Reviewed-by: vlivanov, kvn
This commit is contained in:
Roland Westrelin 2014-05-26 14:27:01 +02:00
parent a7d8aec5fb
commit ee80d81323
6 changed files with 72 additions and 12 deletions

View file

@ -155,6 +155,9 @@ void C2Compiler::compile_method(ciEnv* env, ciMethod* target, int entry_bci) {
}
}
// print inlining for last compilation only
C.dump_print_inlining();
// No retry; just break the loop.
break;
}