# HG changeset patch # User never # Date 1319426594 25200 # Node ID 5bda8dae4e14bc092d87ec2c54c2be3063971100 # Parent 1179647ee17538112e28f29967fe53392f643e0a 7103784: enable some flags by default Reviewed-by: kvn diff -r 1179647ee175 -r 5bda8dae4e14 src/share/vm/opto/c2_globals.hpp --- a/src/share/vm/opto/c2_globals.hpp Fri Oct 21 00:58:30 2011 -0700 +++ b/src/share/vm/opto/c2_globals.hpp Sun Oct 23 20:23:14 2011 -0700 @@ -201,7 +201,7 @@ diagnostic(bool, UnrollLimitCheck, true, \ "Additional overflow checks during loop unroll") \ \ - product(bool, OptimizeFill, false, \ + product(bool, OptimizeFill, true, \ "convert fill/copy loops into intrinsic") \ \ develop(bool, TraceOptimizeFill, false, \ @@ -459,7 +459,7 @@ product(bool, UseOptoBiasInlining, true, \ "Generate biased locking code in C2 ideal graph") \ \ - product(bool, OptimizeStringConcat, false, \ + product(bool, OptimizeStringConcat, true, \ "Optimize the construction of Strings by StringBuilder") \ \ notproduct(bool, PrintOptimizeStringConcat, false, \ diff -r 1179647ee175 -r 5bda8dae4e14 src/share/vm/runtime/arguments.cpp --- a/src/share/vm/runtime/arguments.cpp Fri Oct 21 00:58:30 2011 -0700 +++ b/src/share/vm/runtime/arguments.cpp Sun Oct 23 20:23:14 2011 -0700 @@ -1577,18 +1577,9 @@ sprintf(buffer, "java.lang.Integer.IntegerCache.high=" INTX_FORMAT, AutoBoxCacheMax); add_property(buffer); } - if (AggressiveOpts && FLAG_IS_DEFAULT(DoEscapeAnalysis)) { - FLAG_SET_DEFAULT(DoEscapeAnalysis, true); - } if (AggressiveOpts && FLAG_IS_DEFAULT(BiasedLockingStartupDelay)) { FLAG_SET_DEFAULT(BiasedLockingStartupDelay, 500); } - if (AggressiveOpts && FLAG_IS_DEFAULT(OptimizeStringConcat)) { - FLAG_SET_DEFAULT(OptimizeStringConcat, true); - } - if (AggressiveOpts && FLAG_IS_DEFAULT(OptimizeFill)) { - FLAG_SET_DEFAULT(OptimizeFill, true); - } #endif if (AggressiveOpts) { diff -r 1179647ee175 -r 5bda8dae4e14 src/share/vm/runtime/globals.hpp --- a/src/share/vm/runtime/globals.hpp Fri Oct 21 00:58:30 2011 -0700 +++ b/src/share/vm/runtime/globals.hpp Sun Oct 23 20:23:14 2011 -0700 @@ -3364,7 +3364,7 @@ notproduct(bool, ExitOnFullCodeCache, false, \ "Exit the VM if we fill the code cache.") \ \ - product(bool, UseCodeCacheFlushing, false, \ + product(bool, UseCodeCacheFlushing, true, \ "Attempt to clean the code cache before shutting off compiler") \ \ product(intx, MinCodeCacheFlushingInterval, 30, \