This commit is contained in:
Jayathirth D V 2018-10-24 16:29:25 +05:30
commit 8cc75f412e
15 changed files with 9 additions and 59 deletions

View File

@ -1606,11 +1606,6 @@ Enables installation of signal handlers by the application\&. By default, this o
.PP
These options control the dynamic just\-in\-time (JIT) compilation performed by the Java HotSpot VM\&.
.PP
\-XX:+AggressiveOpts
.RS 4
Enables the use of aggressive performance optimization features, which are expected to become default in upcoming releases\&. By default, this option is disabled and experimental performance features are not used\&.
.RE
.PP
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
.RS 4
Sets the number of lines to prefetch ahead of the instance allocation pointer\&. By default, the number of lines to prefetch is set to 1:
@ -3444,7 +3439,7 @@ The following examples show how to use experimental tuning flags to either optim
.RS 4
.\}
.nf
\fBjava \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
\fBjava \-d64 \-server \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
.fi
.if n \{\

View File

@ -536,7 +536,6 @@ static SpecialFlag const special_jvm_flags[] = {
{ "IgnoreUnverifiableClassesDuringDump", JDK_Version::jdk(10), JDK_Version::undefined(), JDK_Version::undefined() },
{ "CompilerThreadHintNoPreempt", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
{ "VMThreadHintNoPreempt", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
{ "AggressiveOpts", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
// --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:
{ "DefaultMaxRAMFraction", JDK_Version::jdk(8), JDK_Version::undefined(), JDK_Version::undefined() },
@ -563,6 +562,7 @@ static SpecialFlag const special_jvm_flags[] = {
{ "SyncFlags", JDK_Version::undefined(), JDK_Version::jdk(12), JDK_Version::jdk(13) },
{ "SyncKnobs", JDK_Version::undefined(), JDK_Version::jdk(12), JDK_Version::jdk(13) },
{ "MonitorInUseLists", JDK_Version::jdk(10), JDK_Version::jdk(12), JDK_Version::jdk(13) },
{ "AggressiveOpts", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
#ifdef TEST_VERIFY_SPECIAL_JVM_FLAGS
{ "dep > obs", JDK_Version::jdk(9), JDK_Version::jdk(8), JDK_Version::undefined() },
@ -1940,7 +1940,7 @@ void Arguments::set_bytecode_flags() {
}
}
// Aggressive optimization flags -XX:+AggressiveOpts
// Aggressive optimization flags
jint Arguments::set_aggressive_opts_flags() {
#ifdef COMPILER2
if (AggressiveUnboxing) {
@ -1957,14 +1957,10 @@ jint Arguments::set_aggressive_opts_flags() {
AggressiveUnboxing = false;
}
}
if (AggressiveOpts || !FLAG_IS_DEFAULT(AutoBoxCacheMax)) {
if (!FLAG_IS_DEFAULT(AutoBoxCacheMax)) {
if (FLAG_IS_DEFAULT(EliminateAutoBox)) {
FLAG_SET_DEFAULT(EliminateAutoBox, true);
}
if (FLAG_IS_DEFAULT(AutoBoxCacheMax)) {
FLAG_SET_DEFAULT(AutoBoxCacheMax, 20000);
}
// Feed the cache size setting into the JDK
char buffer[1024];
jio_snprintf(buffer, 1024, "java.lang.Integer.IntegerCache.high=" INTX_FORMAT, AutoBoxCacheMax);
@ -1972,18 +1968,8 @@ jint Arguments::set_aggressive_opts_flags() {
return JNI_ENOMEM;
}
}
if (AggressiveOpts && FLAG_IS_DEFAULT(BiasedLockingStartupDelay)) {
FLAG_SET_DEFAULT(BiasedLockingStartupDelay, 500);
}
#endif
if (AggressiveOpts) {
// Sample flag setting code
// if (FLAG_IS_DEFAULT(EliminateZeroing)) {
// FLAG_SET_DEFAULT(EliminateZeroing, true);
// }
}
return JNI_OK;
}
@ -3913,7 +3899,7 @@ jint Arguments::apply_ergo() {
// Set bytecode rewriting flags
set_bytecode_flags();
// Set flags if Aggressive optimization flags (-XX:+AggressiveOpts) enabled
// Set flags if aggressive optimization flags are enabled
jint code = set_aggressive_opts_flags();
if (code != JNI_OK) {
return code;

View File

@ -1351,9 +1351,6 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
/* Note: This value is zero mod 1<<13 for a cheap sparc set. */ \
"Inline allocations larger than this in doublewords must go slow")\
\
product(bool, AggressiveOpts, false, \
"(Deprecated) Enable aggressive optimizations - see arguments.cpp") \
\
product_pd(bool, CompactStrings, \
"Enable Strings to use single byte chars in backing store") \
\

View File

@ -1246,11 +1246,6 @@ Linux
.PP
これらのオプションは、Java HotSpot VMで実行される動的なjust\-in\-time (JIT)コンパイラを制御します。
.PP
\-XX:+AggressiveOpts
.RS 4
積極的なパフォーマンス最適化機能の使用を有効にします。これは今後のリリースでデフォルトになる予定です。デフォルトでは、このオプションは無効であり、試験的なパフォーマンス機能は使用されません。
.RE
.PP
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
.RS 4
インスタンス割当てポインタの前にプリフェッチする行数を設定します。デフォルトでは、プリフェッチする行数は1に設定されています。
@ -2641,7 +2636,7 @@ GC
.RS 4
.\}
.nf
\fBjava \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
\fBjava \-d64 \-server \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
.fi
.if n \{\

View File

@ -1601,11 +1601,6 @@ Enables installation of signal handlers by the application\&. By default, this o
.PP
These options control the dynamic just\-in\-time (JIT) compilation performed by the Java HotSpot VM\&.
.PP
\-XX:+AggressiveOpts
.RS 4
Enables the use of aggressive performance optimization features, which are expected to become default in upcoming releases\&. By default, this option is disabled and experimental performance features are not used\&.
.RE
.PP
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
.RS 4
Sets the number of lines to prefetch ahead of the instance allocation pointer\&. By default, the number of lines to prefetch is set to 1:
@ -3439,7 +3434,7 @@ The following examples show how to use experimental tuning flags to either optim
.RS 4
.\}
.nf
\fBjava \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
\fBjava \-d64 \-server \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
.fi
.if n \{\

View File

@ -1246,11 +1246,6 @@ Linux
.PP
これらのオプションは、Java HotSpot VMで実行される動的なjust\-in\-time (JIT)コンパイラを制御します。
.PP
\-XX:+AggressiveOpts
.RS 4
積極的なパフォーマンス最適化機能の使用を有効にします。これは今後のリリースでデフォルトになる予定です。デフォルトでは、このオプションは無効であり、試験的なパフォーマンス機能は使用されません。
.RE
.PP
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
.RS 4
インスタンス割当てポインタの前にプリフェッチする行数を設定します。デフォルトでは、プリフェッチする行数は1に設定されています。
@ -2641,7 +2636,7 @@ GC
.RS 4
.\}
.nf
\fBjava \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
\fBjava \-d64 \-server \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
.fi
.if n \{\

View File

@ -1601,11 +1601,6 @@ Enables installation of signal handlers by the application\&. By default, this o
.PP
These options control the dynamic just\-in\-time (JIT) compilation performed by the Java HotSpot VM\&.
.PP
\-XX:+AggressiveOpts
.RS 4
Enables the use of aggressive performance optimization features, which are expected to become default in upcoming releases\&. By default, this option is disabled and experimental performance features are not used\&.
.RE
.PP
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
.RS 4
Sets the number of lines to prefetch ahead of the instance allocation pointer\&. By default, the number of lines to prefetch is set to 1:
@ -3439,7 +3434,7 @@ The following examples show how to use experimental tuning flags to either optim
.RS 4
.\}
.nf
\fBjava \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
\fBjava \-d64 \-server \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
.fi
.if n \{\

View File

@ -26,7 +26,6 @@
* @key gc regression
* @summary Make sure that start up with NUMA support does not cause problems.
* @bug 8061467
* @requires vm.opt.AggressiveOpts != true
* @requires vm.gc != "Z"
* @run main/othervm -Xmx128m -XX:+UseNUMA -XX:+UseLargePages TestNUMAPageSize
*/

View File

@ -27,7 +27,6 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management

View File

@ -27,7 +27,6 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management

View File

@ -27,7 +27,6 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management

View File

@ -27,7 +27,6 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management

View File

@ -27,7 +27,6 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management

View File

@ -27,7 +27,6 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management

View File

@ -27,7 +27,6 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management