8373023: [REDO] Remove the default value of InitialRAMPercentage

Reviewed-by: stefank, sjohanss, aboldtch
This commit is contained in:
Joel Sikström 2025-12-03 18:02:06 +00:00
parent fa6ca0bbd1
commit 8d80778e05
5 changed files with 14 additions and 4 deletions

View File

@ -291,7 +291,7 @@
"size on systems with small physical memory size") \
range(0.0, 100.0) \
\
product(double, InitialRAMPercentage, 0.2, \
product(double, InitialRAMPercentage, 0.0, \
"Percentage of real memory used for initial heap size") \
range(0.0, 100.0) \
\

View File

@ -162,7 +162,7 @@ void JVMFlag::print_on(outputStream* st, bool withComments, bool printRanges) co
// uintx ThresholdTolerance = 10 {product} {default}
// size_t TLABSize = 0 {product} {default}
// uintx SurvivorRatio = 8 {product} {default}
// double InitialRAMPercentage = 1.562500 {product} {default}
// double InitialRAMPercentage = 0.000000 {product} {default}
// ccstr CompileCommandFile = MyFile.cmd {product} {command line}
// ccstrlist CompileOnly = Method1
// CompileOnly += Method2 {product} {command line}

View File

@ -2455,8 +2455,7 @@ Java HotSpot VM.
`-XX:InitialRAMPercentage=`*percent*
: Sets the initial amount of memory that the JVM will use for the Java heap
before applying ergonomics heuristics as a percentage of the maximum amount
determined as described in the `-XX:MaxRAM` option. The default value is
0.2 percent.
determined as described in the `-XX:MaxRAM` option.
The following example shows how to set the percentage of the initial
amount of memory used for the Java heap:

View File

@ -94,6 +94,7 @@ gc/shenandoah/TestEvilSyncBug.java#generational 8345501 generic-all
gc/shenandoah/TestRetainObjects.java#no-tlab 8361099 generic-all
gc/shenandoah/TestSieveObjects.java#no-tlab 8361099 generic-all
gc/shenandoah/TestSieveObjects.java#no-tlab-genshen 8361099 generic-all
gc/cslocker/TestCSLocker.java 8373025 generic-all
#############################################################################
@ -139,6 +140,9 @@ serviceability/sa/ClhsdbPstack.java#core 8318754 macosx-aarch64
serviceability/sa/TestJmapCore.java 8318754 macosx-aarch64
serviceability/sa/TestJmapCoreMetaspace.java 8318754 macosx-aarch64
serviceability/sa/ClhsdbScanOops.java#parallel 8373022 generic-all
serviceability/sa/ClhsdbScanOops.java#serial 8373022 generic-all
serviceability/sa/ClhsdbThreadContext.java 8356704 windows-x64
serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java 8315980 linux-all,windows-x64
@ -183,3 +187,9 @@ vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn001/forceEa
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi005/TestDescription.java 8076494 windows-x64
vmTestbase/nsk/monitoring/ThreadMXBean/findMonitorDeadlockedThreads/find006/TestDescription.java 8310144 macosx-aarch64
vmTestbase/nsk/monitoring/MemoryPoolMBean/isUsageThresholdExceeded/isexceeded001/TestDescription.java 8373022 generic-all
vmTestbase/nsk/monitoring/MemoryPoolMBean/isUsageThresholdExceeded/isexceeded002/TestDescription.java 8373022 generic-all
vmTestbase/nsk/monitoring/MemoryPoolMBean/isUsageThresholdExceeded/isexceeded003/TestDescription.java 8373022 generic-all
vmTestbase/nsk/monitoring/MemoryPoolMBean/isUsageThresholdExceeded/isexceeded004/TestDescription.java 8373022 generic-all
vmTestbase/nsk/monitoring/MemoryPoolMBean/isUsageThresholdExceeded/isexceeded005/TestDescription.java 8373022 generic-all

View File

@ -715,6 +715,7 @@ javax/swing/plaf/synth/7158712/bug7158712.java 8324782 macosx-all
# jdk_jdi
com/sun/jdi/InvokeHangTest.java 8218463 linux-all
com/sun/jdi/MethodInvokeWithTraceOnTest.java 8373022 generic-all
############################################################################