Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/arguments.cpp @ 4039:5bda8dae4e14
7103784: enable some flags by default
Reviewed-by: kvn
author | never |
---|---|
date | Sun, 23 Oct 2011 20:23:14 -0700 |
parents | 436b4a3231bf |
children | bca17e38de00 |
comparison
equal
deleted
inserted
replaced
4011:1179647ee175 | 4039:5bda8dae4e14 |
---|---|
1575 // Feed the cache size setting into the JDK | 1575 // Feed the cache size setting into the JDK |
1576 char buffer[1024]; | 1576 char buffer[1024]; |
1577 sprintf(buffer, "java.lang.Integer.IntegerCache.high=" INTX_FORMAT, AutoBoxCacheMax); | 1577 sprintf(buffer, "java.lang.Integer.IntegerCache.high=" INTX_FORMAT, AutoBoxCacheMax); |
1578 add_property(buffer); | 1578 add_property(buffer); |
1579 } | 1579 } |
1580 if (AggressiveOpts && FLAG_IS_DEFAULT(DoEscapeAnalysis)) { | |
1581 FLAG_SET_DEFAULT(DoEscapeAnalysis, true); | |
1582 } | |
1583 if (AggressiveOpts && FLAG_IS_DEFAULT(BiasedLockingStartupDelay)) { | 1580 if (AggressiveOpts && FLAG_IS_DEFAULT(BiasedLockingStartupDelay)) { |
1584 FLAG_SET_DEFAULT(BiasedLockingStartupDelay, 500); | 1581 FLAG_SET_DEFAULT(BiasedLockingStartupDelay, 500); |
1585 } | |
1586 if (AggressiveOpts && FLAG_IS_DEFAULT(OptimizeStringConcat)) { | |
1587 FLAG_SET_DEFAULT(OptimizeStringConcat, true); | |
1588 } | |
1589 if (AggressiveOpts && FLAG_IS_DEFAULT(OptimizeFill)) { | |
1590 FLAG_SET_DEFAULT(OptimizeFill, true); | |
1591 } | 1582 } |
1592 #endif | 1583 #endif |
1593 | 1584 |
1594 if (AggressiveOpts) { | 1585 if (AggressiveOpts) { |
1595 // Sample flag setting code | 1586 // Sample flag setting code |