< prev index next >
src/share/vm/c1/c1_GraphBuilder.cpp
Print this page
rev 7851 : 8073607: add trace events for inlining
Reviewed-by:
*** 4303,4313 ****
log->inline_fail(msg);
else
log->inline_fail("reason unknown");
}
}
!
if (!PrintInlining && !compilation()->method()->has_option("PrintInlining")) {
return;
}
CompileTask::print_inlining(callee, scope()->level(), bci(), msg);
if (success && CIPrintMethodCodes) {
--- 4303,4324 ----
log->inline_fail(msg);
else
log->inline_fail("reason unknown");
}
}
! #if INCLUDE_TRACE
! EventCompilerInlining event;
! if (event.should_commit()) {
! event.set_compileID(compilation()->env()->task()->compile_id());
! event.set_message(msg);
! event.set_succeeded(success);
! event.set_bci(bci());
! event.set_callee(callee->to_trace_struct());
! event.set_caller(method()->to_trace_struct());
! event.commit();
! }
! #endif // INCLUDE_TRACE
if (!PrintInlining && !compilation()->method()->has_option("PrintInlining")) {
return;
}
CompileTask::print_inlining(callee, scope()->level(), bci(), msg);
if (success && CIPrintMethodCodes) {
< prev index next >