mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
7103784: enable some flags by default
Reviewed-by: kvn
This commit is contained in:
parent
e9bfe21bdf
commit
5dc4f00ff5
3 changed files with 3 additions and 12 deletions
|
@ -201,7 +201,7 @@
|
||||||
diagnostic(bool, UnrollLimitCheck, true, \
|
diagnostic(bool, UnrollLimitCheck, true, \
|
||||||
"Additional overflow checks during loop unroll") \
|
"Additional overflow checks during loop unroll") \
|
||||||
\
|
\
|
||||||
product(bool, OptimizeFill, false, \
|
product(bool, OptimizeFill, true, \
|
||||||
"convert fill/copy loops into intrinsic") \
|
"convert fill/copy loops into intrinsic") \
|
||||||
\
|
\
|
||||||
develop(bool, TraceOptimizeFill, false, \
|
develop(bool, TraceOptimizeFill, false, \
|
||||||
|
@ -459,7 +459,7 @@
|
||||||
product(bool, UseOptoBiasInlining, true, \
|
product(bool, UseOptoBiasInlining, true, \
|
||||||
"Generate biased locking code in C2 ideal graph") \
|
"Generate biased locking code in C2 ideal graph") \
|
||||||
\
|
\
|
||||||
product(bool, OptimizeStringConcat, false, \
|
product(bool, OptimizeStringConcat, true, \
|
||||||
"Optimize the construction of Strings by StringBuilder") \
|
"Optimize the construction of Strings by StringBuilder") \
|
||||||
\
|
\
|
||||||
notproduct(bool, PrintOptimizeStringConcat, false, \
|
notproduct(bool, PrintOptimizeStringConcat, false, \
|
||||||
|
|
|
@ -1577,18 +1577,9 @@ void Arguments::set_aggressive_opts_flags() {
|
||||||
sprintf(buffer, "java.lang.Integer.IntegerCache.high=" INTX_FORMAT, AutoBoxCacheMax);
|
sprintf(buffer, "java.lang.Integer.IntegerCache.high=" INTX_FORMAT, AutoBoxCacheMax);
|
||||||
add_property(buffer);
|
add_property(buffer);
|
||||||
}
|
}
|
||||||
if (AggressiveOpts && FLAG_IS_DEFAULT(DoEscapeAnalysis)) {
|
|
||||||
FLAG_SET_DEFAULT(DoEscapeAnalysis, true);
|
|
||||||
}
|
|
||||||
if (AggressiveOpts && FLAG_IS_DEFAULT(BiasedLockingStartupDelay)) {
|
if (AggressiveOpts && FLAG_IS_DEFAULT(BiasedLockingStartupDelay)) {
|
||||||
FLAG_SET_DEFAULT(BiasedLockingStartupDelay, 500);
|
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
|
#endif
|
||||||
|
|
||||||
if (AggressiveOpts) {
|
if (AggressiveOpts) {
|
||||||
|
|
|
@ -3364,7 +3364,7 @@ class CommandLineFlags {
|
||||||
notproduct(bool, ExitOnFullCodeCache, false, \
|
notproduct(bool, ExitOnFullCodeCache, false, \
|
||||||
"Exit the VM if we fill the code cache.") \
|
"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") \
|
"Attempt to clean the code cache before shutting off compiler") \
|
||||||
\
|
\
|
||||||
product(intx, MinCodeCacheFlushingInterval, 30, \
|
product(intx, MinCodeCacheFlushingInterval, 30, \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue