Merge
This commit is contained in:
commit
8cc75f412e
@ -1606,11 +1606,6 @@ Enables installation of signal handlers by the application\&. By default, this o
|
|||||||
.PP
|
.PP
|
||||||
These options control the dynamic just\-in\-time (JIT) compilation performed by the Java HotSpot VM\&.
|
These options control the dynamic just\-in\-time (JIT) compilation performed by the Java HotSpot VM\&.
|
||||||
.PP
|
.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
|
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
|
||||||
.RS 4
|
.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:
|
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
|
.RS 4
|
||||||
.\}
|
.\}
|
||||||
.nf
|
.nf
|
||||||
\fBjava \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
|
\fBjava \-d64 \-server \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
.if n \{\
|
.if n \{\
|
||||||
|
@ -536,7 +536,6 @@ static SpecialFlag const special_jvm_flags[] = {
|
|||||||
{ "IgnoreUnverifiableClassesDuringDump", JDK_Version::jdk(10), JDK_Version::undefined(), JDK_Version::undefined() },
|
{ "IgnoreUnverifiableClassesDuringDump", JDK_Version::jdk(10), JDK_Version::undefined(), JDK_Version::undefined() },
|
||||||
{ "CompilerThreadHintNoPreempt", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
|
{ "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) },
|
{ "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:
|
// --- 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() },
|
{ "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) },
|
{ "SyncFlags", JDK_Version::undefined(), JDK_Version::jdk(12), JDK_Version::jdk(13) },
|
||||||
{ "SyncKnobs", 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) },
|
{ "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
|
#ifdef TEST_VERIFY_SPECIAL_JVM_FLAGS
|
||||||
{ "dep > obs", JDK_Version::jdk(9), JDK_Version::jdk(8), JDK_Version::undefined() },
|
{ "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() {
|
jint Arguments::set_aggressive_opts_flags() {
|
||||||
#ifdef COMPILER2
|
#ifdef COMPILER2
|
||||||
if (AggressiveUnboxing) {
|
if (AggressiveUnboxing) {
|
||||||
@ -1957,14 +1957,10 @@ jint Arguments::set_aggressive_opts_flags() {
|
|||||||
AggressiveUnboxing = false;
|
AggressiveUnboxing = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (AggressiveOpts || !FLAG_IS_DEFAULT(AutoBoxCacheMax)) {
|
if (!FLAG_IS_DEFAULT(AutoBoxCacheMax)) {
|
||||||
if (FLAG_IS_DEFAULT(EliminateAutoBox)) {
|
if (FLAG_IS_DEFAULT(EliminateAutoBox)) {
|
||||||
FLAG_SET_DEFAULT(EliminateAutoBox, true);
|
FLAG_SET_DEFAULT(EliminateAutoBox, true);
|
||||||
}
|
}
|
||||||
if (FLAG_IS_DEFAULT(AutoBoxCacheMax)) {
|
|
||||||
FLAG_SET_DEFAULT(AutoBoxCacheMax, 20000);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Feed the cache size setting into the JDK
|
// Feed the cache size setting into the JDK
|
||||||
char buffer[1024];
|
char buffer[1024];
|
||||||
jio_snprintf(buffer, 1024, "java.lang.Integer.IntegerCache.high=" INTX_FORMAT, AutoBoxCacheMax);
|
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;
|
return JNI_ENOMEM;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (AggressiveOpts && FLAG_IS_DEFAULT(BiasedLockingStartupDelay)) {
|
|
||||||
FLAG_SET_DEFAULT(BiasedLockingStartupDelay, 500);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (AggressiveOpts) {
|
|
||||||
// Sample flag setting code
|
|
||||||
// if (FLAG_IS_DEFAULT(EliminateZeroing)) {
|
|
||||||
// FLAG_SET_DEFAULT(EliminateZeroing, true);
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
|
|
||||||
return JNI_OK;
|
return JNI_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3913,7 +3899,7 @@ jint Arguments::apply_ergo() {
|
|||||||
// Set bytecode rewriting flags
|
// Set bytecode rewriting flags
|
||||||
set_bytecode_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();
|
jint code = set_aggressive_opts_flags();
|
||||||
if (code != JNI_OK) {
|
if (code != JNI_OK) {
|
||||||
return code;
|
return code;
|
||||||
|
@ -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. */ \
|
/* Note: This value is zero mod 1<<13 for a cheap sparc set. */ \
|
||||||
"Inline allocations larger than this in doublewords must go slow")\
|
"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, \
|
product_pd(bool, CompactStrings, \
|
||||||
"Enable Strings to use single byte chars in backing store") \
|
"Enable Strings to use single byte chars in backing store") \
|
||||||
\
|
\
|
||||||
|
@ -1246,11 +1246,6 @@ Linux
|
|||||||
.PP
|
.PP
|
||||||
これらのオプションは、Java HotSpot VMで実行される動的なjust\-in\-time (JIT)コンパイラを制御します。
|
これらのオプションは、Java HotSpot VMで実行される動的なjust\-in\-time (JIT)コンパイラを制御します。
|
||||||
.PP
|
.PP
|
||||||
\-XX:+AggressiveOpts
|
|
||||||
.RS 4
|
|
||||||
積極的なパフォーマンス最適化機能の使用を有効にします。これは今後のリリースでデフォルトになる予定です。デフォルトでは、このオプションは無効であり、試験的なパフォーマンス機能は使用されません。
|
|
||||||
.RE
|
|
||||||
.PP
|
|
||||||
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
|
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
インスタンス割当てポインタの前にプリフェッチする行数を設定します。デフォルトでは、プリフェッチする行数は1に設定されています。
|
インスタンス割当てポインタの前にプリフェッチする行数を設定します。デフォルトでは、プリフェッチする行数は1に設定されています。
|
||||||
@ -2641,7 +2636,7 @@ GC
|
|||||||
.RS 4
|
.RS 4
|
||||||
.\}
|
.\}
|
||||||
.nf
|
.nf
|
||||||
\fBjava \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
|
\fBjava \-d64 \-server \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
.if n \{\
|
.if n \{\
|
||||||
|
@ -1601,11 +1601,6 @@ Enables installation of signal handlers by the application\&. By default, this o
|
|||||||
.PP
|
.PP
|
||||||
These options control the dynamic just\-in\-time (JIT) compilation performed by the Java HotSpot VM\&.
|
These options control the dynamic just\-in\-time (JIT) compilation performed by the Java HotSpot VM\&.
|
||||||
.PP
|
.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
|
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
|
||||||
.RS 4
|
.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:
|
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
|
.RS 4
|
||||||
.\}
|
.\}
|
||||||
.nf
|
.nf
|
||||||
\fBjava \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
|
\fBjava \-d64 \-server \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
.if n \{\
|
.if n \{\
|
||||||
|
@ -1246,11 +1246,6 @@ Linux
|
|||||||
.PP
|
.PP
|
||||||
これらのオプションは、Java HotSpot VMで実行される動的なjust\-in\-time (JIT)コンパイラを制御します。
|
これらのオプションは、Java HotSpot VMで実行される動的なjust\-in\-time (JIT)コンパイラを制御します。
|
||||||
.PP
|
.PP
|
||||||
\-XX:+AggressiveOpts
|
|
||||||
.RS 4
|
|
||||||
積極的なパフォーマンス最適化機能の使用を有効にします。これは今後のリリースでデフォルトになる予定です。デフォルトでは、このオプションは無効であり、試験的なパフォーマンス機能は使用されません。
|
|
||||||
.RE
|
|
||||||
.PP
|
|
||||||
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
|
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
インスタンス割当てポインタの前にプリフェッチする行数を設定します。デフォルトでは、プリフェッチする行数は1に設定されています。
|
インスタンス割当てポインタの前にプリフェッチする行数を設定します。デフォルトでは、プリフェッチする行数は1に設定されています。
|
||||||
@ -2641,7 +2636,7 @@ GC
|
|||||||
.RS 4
|
.RS 4
|
||||||
.\}
|
.\}
|
||||||
.nf
|
.nf
|
||||||
\fBjava \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
|
\fBjava \-d64 \-server \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
.if n \{\
|
.if n \{\
|
||||||
|
@ -1601,11 +1601,6 @@ Enables installation of signal handlers by the application\&. By default, this o
|
|||||||
.PP
|
.PP
|
||||||
These options control the dynamic just\-in\-time (JIT) compilation performed by the Java HotSpot VM\&.
|
These options control the dynamic just\-in\-time (JIT) compilation performed by the Java HotSpot VM\&.
|
||||||
.PP
|
.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
|
\-XX:AllocateInstancePrefetchLines=\fIlines\fR
|
||||||
.RS 4
|
.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:
|
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
|
.RS 4
|
||||||
.\}
|
.\}
|
||||||
.nf
|
.nf
|
||||||
\fBjava \-d64 \-server \-XX:+AggressiveOpts \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
|
\fBjava \-d64 \-server \-XX:+UseLargePages \-Xmn10g \-Xms26g \-Xmx26g\fR
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
.if n \{\
|
.if n \{\
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
* @key gc regression
|
* @key gc regression
|
||||||
* @summary Make sure that start up with NUMA support does not cause problems.
|
* @summary Make sure that start up with NUMA support does not cause problems.
|
||||||
* @bug 8061467
|
* @bug 8061467
|
||||||
* @requires vm.opt.AggressiveOpts != true
|
|
||||||
* @requires vm.gc != "Z"
|
* @requires vm.gc != "Z"
|
||||||
* @run main/othervm -Xmx128m -XX:+UseNUMA -XX:+UseLargePages TestNUMAPageSize
|
* @run main/othervm -Xmx128m -XX:+UseNUMA -XX:+UseLargePages TestNUMAPageSize
|
||||||
*/
|
*/
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
* @summary Checks that decommitment occurs for JVM with different
|
* @summary Checks that decommitment occurs for JVM with different
|
||||||
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
||||||
* @requires vm.gc.G1
|
* @requires vm.gc.G1
|
||||||
* @requires vm.opt.AggressiveOpts != true
|
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
* @modules java.base/jdk.internal.misc
|
* @modules java.base/jdk.internal.misc
|
||||||
* java.management
|
* java.management
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
* @summary Checks that decommitment occurs for JVM with different
|
* @summary Checks that decommitment occurs for JVM with different
|
||||||
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
||||||
* @requires vm.gc.G1
|
* @requires vm.gc.G1
|
||||||
* @requires vm.opt.AggressiveOpts != true
|
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
* @modules java.base/jdk.internal.misc
|
* @modules java.base/jdk.internal.misc
|
||||||
* java.management
|
* java.management
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
* @summary Checks that decommitment occurs for JVM with different
|
* @summary Checks that decommitment occurs for JVM with different
|
||||||
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
||||||
* @requires vm.gc.G1
|
* @requires vm.gc.G1
|
||||||
* @requires vm.opt.AggressiveOpts != true
|
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
* @modules java.base/jdk.internal.misc
|
* @modules java.base/jdk.internal.misc
|
||||||
* java.management
|
* java.management
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
* @summary Checks that decommitment occurs for JVM with different
|
* @summary Checks that decommitment occurs for JVM with different
|
||||||
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
||||||
* @requires vm.gc.G1
|
* @requires vm.gc.G1
|
||||||
* @requires vm.opt.AggressiveOpts != true
|
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
* @modules java.base/jdk.internal.misc
|
* @modules java.base/jdk.internal.misc
|
||||||
* java.management
|
* java.management
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
* @summary Checks that decommitment occurs for JVM with different
|
* @summary Checks that decommitment occurs for JVM with different
|
||||||
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
||||||
* @requires vm.gc.G1
|
* @requires vm.gc.G1
|
||||||
* @requires vm.opt.AggressiveOpts != true
|
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
* @modules java.base/jdk.internal.misc
|
* @modules java.base/jdk.internal.misc
|
||||||
* java.management
|
* java.management
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
* @summary Checks that decommitment occurs for JVM with different
|
* @summary Checks that decommitment occurs for JVM with different
|
||||||
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
||||||
* @requires vm.gc.G1
|
* @requires vm.gc.G1
|
||||||
* @requires vm.opt.AggressiveOpts != true
|
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
* @modules java.base/jdk.internal.misc
|
* @modules java.base/jdk.internal.misc
|
||||||
* java.management
|
* java.management
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
* @summary Checks that decommitment occurs for JVM with different
|
* @summary Checks that decommitment occurs for JVM with different
|
||||||
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
|
||||||
* @requires vm.gc.G1
|
* @requires vm.gc.G1
|
||||||
* @requires vm.opt.AggressiveOpts != true
|
|
||||||
* @library /test/lib
|
* @library /test/lib
|
||||||
* @modules java.base/jdk.internal.misc
|
* @modules java.base/jdk.internal.misc
|
||||||
* java.management
|
* java.management
|
||||||
|
Loading…
x
Reference in New Issue
Block a user