< prev index next >

src/share/vm/c1/c1_GraphBuilder.cpp

Print this page

        

*** 32,42 **** --- 32,44 ---- #include "ci/ciField.hpp" #include "ci/ciKlass.hpp" #include "ci/ciMemberName.hpp" #include "compiler/compileBroker.hpp" #include "interpreter/bytecode.hpp" + #if INCLUDE_JFR #include "jfr/jfrEvents.hpp" + #endif #include "runtime/sharedRuntime.hpp" #include "runtime/compilationPolicy.hpp" #include "utilities/bitMap.inline.hpp" class BlockListBuilder VALUE_OBJ_CLASS_SPEC {
*** 4401,4410 **** --- 4403,4413 ---- push(result_type, result); compilation()->set_has_unsafe_access(true); } + #if INCLUDE_JFR static void post_inlining_event(EventCompilerInlining* event, int compile_id, const char* msg, bool success, int bci,
*** 4424,4433 **** --- 4427,4437 ---- event->set_bci(bci); event->set_caller(caller->get_Method()); event->set_callee(callee_struct); event->commit(); } + #endif void GraphBuilder::print_inlining(ciMethod* callee, const char* msg, bool success) { CompileLog* log = compilation()->log(); if (log != NULL) { if (success) {
*** 4441,4454 **** --- 4445,4460 ---- else log->inline_fail("reason unknown"); } } + #if INCLUDE_JFR EventCompilerInlining event; if (event.should_commit()) { post_inlining_event(&event, compilation()->env()->task()->compile_id(), msg, success, bci(), method(), callee); } + #endif if (!PrintInlining && !compilation()->method()->has_option("PrintInlining")) { return; } CompileTask::print_inlining(callee, scope()->level(), bci(), msg);
< prev index next >