< prev index next >
src/hotspot/share/opto/bytecodeInfo.cpp
Print this page
rev 47680 : 8160548: Inconsistent inlining behavior with CompileOnly
Summary: can_be_compiled should not affect inlining
Reviewed-by:
@@ -476,11 +476,10 @@
//------------------------------check_can_parse--------------------------------
const char* InlineTree::check_can_parse(ciMethod* callee) {
// Certain methods cannot be parsed at all:
if ( callee->is_native()) return "native method";
if ( callee->is_abstract()) return "abstract method";
- if (!callee->can_be_compiled()) return "not compilable (disabled)";
if (!callee->has_balanced_monitors()) return "not compilable (unbalanced monitors)";
if ( callee->get_flow_analysis()->failing()) return "not compilable (flow analysis failed)";
return NULL;
}
< prev index next >