src/share/vm/compiler/compileBroker.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/compiler/compileBroker.cpp Fri Oct 21 15:43:57 2011
--- new/src/share/vm/compiler/compileBroker.cpp Fri Oct 21 15:43:57 2011
*** 1720,1734 ****
--- 1720,1734 ----
// Copy this bit to the enclosing block:
compilable = ci_env.compilable();
if (PrintCompilation) {
const char* reason = ci_env.failure_reason();
if (compilable == ciEnv::MethodCompilable_not_at_tier) {
! tty->print_cr("%3d COMPILE SKIPPED: %s (retry at different tier)", compile_id, reason);
! tty->print_cr("%4d COMPILE SKIPPED: %s (retry at different tier)", compile_id, reason);
} else if (compilable == ciEnv::MethodCompilable_never) {
! tty->print_cr("%3d COMPILE SKIPPED: %s (not retryable)", compile_id, reason);
! tty->print_cr("%4d COMPILE SKIPPED: %s (not retryable)", compile_id, reason);
} else if (compilable == ciEnv::MethodCompilable) {
! tty->print_cr("%3d COMPILE SKIPPED: %s", compile_id, reason);
! tty->print_cr("%4d COMPILE SKIPPED: %s", compile_id, reason);
}
}
} else {
task->mark_success();
task->set_num_inlined_bytecodes(ci_env.num_inlined_bytecodes());
*** 1741,1750 ****
--- 1741,1757 ----
DTRACE_METHOD_COMPILE_END_PROBE(compiler(task->comp_level()), method, task->is_success());
collect_statistics(thread, time, task);
+ if (PrintCompilation && PrintInlining) {
+ 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());
+ }
+
if (compilable == ciEnv::MethodCompilable_never) {
if (is_osr) {
method->set_not_osr_compilable();
} else {
method->set_not_compilable_quietly();
src/share/vm/compiler/compileBroker.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File