< prev index next >

src/hotspot/share/oops/method.cpp

Print this page

        

*** 833,843 **** *signature_handler = handler; } void Method::print_made_not_compilable(int comp_level, bool is_osr, bool report, const char* reason) { - assert(reason != NULL, "must provide a reason"); if (PrintCompilation && report) { ttyLocker ttyl; tty->print("made not %scompilable on ", is_osr ? "OSR " : ""); if (comp_level == CompLevel_all) { tty->print("all levels "); --- 833,842 ----
*** 894,904 **** return is_not_c2_compilable(); return false; } // call this when compiler finds that this method is not compilable ! void Method::set_not_compilable(const char* reason, int comp_level, bool report) { if (is_always_compilable()) { // Don't mark a method which should be always compilable return; } print_made_not_compilable(comp_level, /*is_osr*/ false, report, reason); --- 893,903 ---- return is_not_c2_compilable(); return false; } // call this when compiler finds that this method is not compilable ! void Method::set_not_compilable(int comp_level, bool report, const char* reason) { if (is_always_compilable()) { // Don't mark a method which should be always compilable return; } print_made_not_compilable(comp_level, /*is_osr*/ false, report, reason);
*** 925,935 **** if (is_c2_compile(comp_level)) return is_not_c2_osr_compilable(); return false; } ! void Method::set_not_osr_compilable(const char* reason, int comp_level, bool report) { print_made_not_compilable(comp_level, /*is_osr*/ true, report, reason); if (comp_level == CompLevel_all) { set_not_c1_osr_compilable(); set_not_c2_osr_compilable(); } else { --- 924,934 ---- if (is_c2_compile(comp_level)) return is_not_c2_osr_compilable(); return false; } ! void Method::set_not_osr_compilable(int comp_level, bool report, const char* reason) { print_made_not_compilable(comp_level, /*is_osr*/ true, report, reason); if (comp_level == CompLevel_all) { set_not_c1_osr_compilable(); set_not_c2_osr_compilable(); } else {
< prev index next >