# HG changeset patch # User kvn # Date 1358289912 28800 # Node ID 5b8548391bf39cc3184d9f772059a4fd44961c0f # Parent f1de9dbc914e1248713434ced7c57dce62658224 8005821: C2: -XX:+PrintIntrinsics is broken Summary: Check all print inlining flags when processing inlining list. Reviewed-by: kvn, twisti Contributed-by: david.r.chase@oracle.com diff -r f1de9dbc914e -r 5b8548391bf3 src/share/vm/opto/compile.cpp --- a/src/share/vm/opto/compile.cpp Tue Jan 15 12:06:18 2013 -0800 +++ b/src/share/vm/opto/compile.cpp Tue Jan 15 14:45:12 2013 -0800 @@ -692,7 +692,7 @@ PhaseGVN gvn(node_arena(), estimated_size); set_initial_gvn(&gvn); - if (PrintInlining) { + if (PrintInlining || PrintIntrinsics NOT_PRODUCT( || PrintOptoInlining)) { _print_inlining_list = new (comp_arena())GrowableArray(comp_arena(), 1, 1, PrintInliningBuffer()); } { // Scope for timing the parser @@ -2049,7 +2049,7 @@ } // (End scope of igvn; run destructor if necessary for asserts.) - dump_inlining(); + dump_inlining(); // A method with only infinite loops has no edges entering loops from root { NOT_PRODUCT( TracePhase t2("graphReshape", &_t_graphReshaping, TimeCompiler); ) @@ -3497,7 +3497,7 @@ } void Compile::dump_inlining() { - if (PrintInlining) { + if (PrintInlining || PrintIntrinsics NOT_PRODUCT( || PrintOptoInlining)) { // Print inlining message for candidates that we couldn't inline // for lack of space or non constant receiver for (int i = 0; i < _late_inlines.length(); i++) {