Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 4758:d725f0affb1a
7121111: -server -Xcomp -XX:+TieredCompilation does not invoke C2 compiler
Summary: Exercise C2 more in tiered mode with Xcomp
Reviewed-by: kvn, never
author | iveresov |
---|---|
date | Tue, 13 Dec 2011 17:10:52 -0800 |
parents | 55d777c0860a |
children | 865e0817f32b e9a5e0a812c8 |
comparison
equal
deleted
inserted
replaced
4757:7bca37d28f32 | 4758:d725f0affb1a |
---|---|
998 break; | 998 break; |
999 case _comp: | 999 case _comp: |
1000 UseInterpreter = false; | 1000 UseInterpreter = false; |
1001 BackgroundCompilation = false; | 1001 BackgroundCompilation = false; |
1002 ClipInlining = false; | 1002 ClipInlining = false; |
1003 // Be much more aggressive in tiered mode with -Xcomp and exercise C2 more. | |
1004 // We will first compile a level 3 version (C1 with full profiling), then do one invocation of it and | |
1005 // compile a level 4 (C2) and then continue executing it. | |
1006 if (TieredCompilation) { | |
1007 Tier3InvokeNotifyFreqLog = 0; | |
1008 Tier4InvocationThreshold = 0; | |
1009 } | |
1003 break; | 1010 break; |
1004 } | 1011 } |
1005 } | 1012 } |
1006 | 1013 |
1007 // Conflict: required to use shared spaces (-Xshare:on), but | 1014 // Conflict: required to use shared spaces (-Xshare:on), but |