< prev index next >

src/hotspot/share/ci/ciEnv.cpp

Print this page

        

*** 42,52 **** #include "compiler/compileLog.hpp" #include "compiler/disassembler.hpp" #include "gc/shared/collectedHeap.inline.hpp" #include "interpreter/linkResolver.hpp" #include "jfr/jfrEvents.hpp" - #include "logging/log.hpp" #include "memory/allocation.inline.hpp" #include "memory/oopFactory.hpp" #include "memory/resourceArea.hpp" #include "memory/universe.hpp" #include "oops/constantPool.inline.hpp" --- 42,51 ----
*** 990,1004 **** (!dtrace_method_probes() && DTraceMethodProbes) || (!dtrace_alloc_probes() && DTraceAllocProbes) )) { record_failure("DTrace flags change invalidated dependencies"); } - if (!failing() && target->needs_clinit_barrier() && - target->holder()->is_in_error_state()) { - record_failure("method holder is in error state"); - } - if (!failing()) { if (log() != NULL) { // Log the dependencies which this compilation declares. dependencies()->log_all_dependencies(); } --- 989,998 ----
*** 1075,1101 **** } if (old != NULL) { old->make_not_used(); } } ! ! LogTarget(Info, nmethod, install) lt; ! if (lt.is_enabled()) { ResourceMark rm; char *method_name = method->name_and_sig_as_C_string(); ! lt.print("Installing method (%d) %s ", ! task()->comp_level(), method_name); } // Allow the code to be executed method->set_code(method, nm); } else { ! LogTarget(Info, nmethod, install) lt; ! if (lt.is_enabled()) { ResourceMark rm; char *method_name = method->name_and_sig_as_C_string(); ! lt.print("Installing osr method (%d) %s @ %d", ! task()->comp_level(), method_name, entry_bci); } method->method_holder()->add_osr_nmethod(nm); } nm->make_in_use(); } --- 1069,1097 ---- } if (old != NULL) { old->make_not_used(); } } ! if (TraceNMethodInstalls) { ResourceMark rm; char *method_name = method->name_and_sig_as_C_string(); ! ttyLocker ttyl; ! tty->print_cr("Installing method (%d) %s ", ! task()->comp_level(), ! method_name); } // Allow the code to be executed method->set_code(method, nm); } else { ! if (TraceNMethodInstalls) { ResourceMark rm; char *method_name = method->name_and_sig_as_C_string(); ! ttyLocker ttyl; ! tty->print_cr("Installing osr method (%d) %s @ %d", ! task()->comp_level(), ! method_name, ! entry_bci); } method->method_holder()->add_osr_nmethod(nm); } nm->make_in_use(); }
< prev index next >