24 |
24 |
25 // |
25 // |
26 // Defines all globals flags used by the server compiler. |
26 // Defines all globals flags used by the server compiler. |
27 // |
27 // |
28 |
28 |
29 #define C2_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \ |
29 #define C2_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct) \ |
30 \ |
30 \ |
31 notproduct(intx, CompileZapFirst, 0, \ |
31 notproduct(intx, CompileZapFirst, 0, \ |
32 "If +ZapDeadCompiledLocals, " \ |
32 "If +ZapDeadCompiledLocals, " \ |
33 "skip this many before compiling in zap calls") \ |
33 "skip this many before compiling in zap calls") \ |
34 \ |
34 \ |
392 "Array size (number of elements) limit for scalar replacement") \ |
392 "Array size (number of elements) limit for scalar replacement") \ |
393 \ |
393 \ |
394 product(bool, UseOptoBiasInlining, true, \ |
394 product(bool, UseOptoBiasInlining, true, \ |
395 "Generate biased locking code in C2 ideal graph") \ |
395 "Generate biased locking code in C2 ideal graph") \ |
396 \ |
396 \ |
|
397 experimental(bool, OptimizeStringConcat, false, \ |
|
398 "Optimize the construction of Strings by StringBuilder") \ |
|
399 \ |
|
400 notproduct(bool, PrintOptimizeStringConcat, false, \ |
|
401 "Print information about transformations performed on Strings") \ |
|
402 \ |
397 product(intx, ValueSearchLimit, 1000, \ |
403 product(intx, ValueSearchLimit, 1000, \ |
398 "Recursion limit in PhaseMacroExpand::value_from_mem_phi") \ |
404 "Recursion limit in PhaseMacroExpand::value_from_mem_phi") \ |
399 \ |
405 \ |
400 product(intx, MaxLabelRootDepth, 1100, \ |
406 product(intx, MaxLabelRootDepth, 1100, \ |
401 "Maximum times call Label_Root to prevent stack overflow") \ |
407 "Maximum times call Label_Root to prevent stack overflow") \ |
411 "a will allow a fork (join) in a single chain") \ |
417 "a will allow a fork (join) in a single chain") \ |
412 \ |
418 \ |
413 product(bool, BlockLayoutRotateLoops, true, \ |
419 product(bool, BlockLayoutRotateLoops, true, \ |
414 "Allow back branches to be fall throughs in the block layour") \ |
420 "Allow back branches to be fall throughs in the block layour") \ |
415 |
421 |
416 C2_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_NOTPRODUCT_FLAG) |
422 C2_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG) |