src/hotspot/share/oops/method.cpp
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File
*** old/src/hotspot/share/oops/method.cpp	Fri May 31 08:53:30 2019
--- new/src/hotspot/share/oops/method.cpp	Fri May 31 08:53:30 2019

*** 829,838 **** --- 829,839 ---- *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 ");
*** 889,899 **** --- 890,900 ---- 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) { ! 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);
*** 920,930 **** --- 921,931 ---- 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) { ! 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 {

src/hotspot/share/oops/method.cpp
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File