# HG changeset patch # User iveresov # Date 1323825052 28800 # Node ID d725f0affb1af0446acdfc400d5e92b20bf2f89a # Parent 7bca37d28f32d0bb6e80a9f46dd2e913474b1d83 7121111: -server -Xcomp -XX:+TieredCompilation does not invoke C2 compiler Summary: Exercise C2 more in tiered mode with Xcomp Reviewed-by: kvn, never diff -r 7bca37d28f32 -r d725f0affb1a src/share/vm/runtime/arguments.cpp --- a/src/share/vm/runtime/arguments.cpp Tue Dec 13 10:54:47 2011 +0100 +++ b/src/share/vm/runtime/arguments.cpp Tue Dec 13 17:10:52 2011 -0800 @@ -1000,6 +1000,13 @@ UseInterpreter = false; BackgroundCompilation = false; ClipInlining = false; + // Be much more aggressive in tiered mode with -Xcomp and exercise C2 more. + // We will first compile a level 3 version (C1 with full profiling), then do one invocation of it and + // compile a level 4 (C2) and then continue executing it. + if (TieredCompilation) { + Tier3InvokeNotifyFreqLog = 0; + Tier4InvocationThreshold = 0; + } break; } }