Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/arguments.cpp @ 10280:8bcfd9ce2c6b
Merge
author | twisti |
---|---|
date | Mon, 13 May 2013 12:43:10 -0700 |
parents | 194f52aa2f23 6f3fd5150b67 |
children | e484fe2abebd |
comparison
equal
deleted
inserted
replaced
10251:6114c49b31b5 | 10280:8bcfd9ce2c6b |
---|---|
1087 } | 1087 } |
1088 // Increase the code cache size - tiered compiles a lot more. | 1088 // Increase the code cache size - tiered compiles a lot more. |
1089 if (FLAG_IS_DEFAULT(ReservedCodeCacheSize)) { | 1089 if (FLAG_IS_DEFAULT(ReservedCodeCacheSize)) { |
1090 FLAG_SET_DEFAULT(ReservedCodeCacheSize, ReservedCodeCacheSize * 5); | 1090 FLAG_SET_DEFAULT(ReservedCodeCacheSize, ReservedCodeCacheSize * 5); |
1091 } | 1091 } |
1092 if (!UseInterpreter) { // -Xcomp | |
1093 Tier3InvokeNotifyFreqLog = 0; | |
1094 Tier4InvocationThreshold = 0; | |
1095 } | |
1092 } | 1096 } |
1093 | 1097 |
1094 #if INCLUDE_ALL_GCS | 1098 #if INCLUDE_ALL_GCS |
1095 static void disable_adaptive_size_policy(const char* collector_name) { | 1099 static void disable_adaptive_size_policy(const char* collector_name) { |
1096 if (UseAdaptiveSizePolicy) { | 1100 if (UseAdaptiveSizePolicy) { |
1667 } | 1671 } |
1668 | 1672 |
1669 // Aggressive optimization flags -XX:+AggressiveOpts | 1673 // Aggressive optimization flags -XX:+AggressiveOpts |
1670 void Arguments::set_aggressive_opts_flags() { | 1674 void Arguments::set_aggressive_opts_flags() { |
1671 #ifdef COMPILER2 | 1675 #ifdef COMPILER2 |
1676 if (AggressiveUnboxing) { | |
1677 if (FLAG_IS_DEFAULT(EliminateAutoBox)) { | |
1678 FLAG_SET_DEFAULT(EliminateAutoBox, true); | |
1679 } else if (!EliminateAutoBox) { | |
1680 // warning("AggressiveUnboxing is disabled because EliminateAutoBox is disabled"); | |
1681 AggressiveUnboxing = false; | |
1682 } | |
1683 if (FLAG_IS_DEFAULT(DoEscapeAnalysis)) { | |
1684 FLAG_SET_DEFAULT(DoEscapeAnalysis, true); | |
1685 } else if (!DoEscapeAnalysis) { | |
1686 // warning("AggressiveUnboxing is disabled because DoEscapeAnalysis is disabled"); | |
1687 AggressiveUnboxing = false; | |
1688 } | |
1689 } | |
1672 if (AggressiveOpts || !FLAG_IS_DEFAULT(AutoBoxCacheMax)) { | 1690 if (AggressiveOpts || !FLAG_IS_DEFAULT(AutoBoxCacheMax)) { |
1673 if (FLAG_IS_DEFAULT(EliminateAutoBox)) { | 1691 if (FLAG_IS_DEFAULT(EliminateAutoBox)) { |
1674 FLAG_SET_DEFAULT(EliminateAutoBox, true); | 1692 FLAG_SET_DEFAULT(EliminateAutoBox, true); |
1675 } | 1693 } |
1676 if (FLAG_IS_DEFAULT(AutoBoxCacheMax)) { | 1694 if (FLAG_IS_DEFAULT(AutoBoxCacheMax)) { |