8372961: [BACKOUT] Remove the default value of InitialRAMPercentage

Reviewed-by: stefank
This commit is contained in:
Joel Sikström 2025-12-02 20:49:28 +00:00
parent 5a60e22bc4
commit 0bead70651
3 changed files with 4 additions and 3 deletions

View File

@ -291,7 +291,7 @@
"size on systems with small physical memory size") \
range(0.0, 100.0) \
\
product(double, InitialRAMPercentage, 0.0, \
product(double, InitialRAMPercentage, 0.2, \
"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 = 0.000000 {product} {default}
// double InitialRAMPercentage = 1.562500 {product} {default}
// ccstr CompileCommandFile = MyFile.cmd {product} {command line}
// ccstrlist CompileOnly = Method1
// CompileOnly += Method2 {product} {command line}

View File

@ -2455,7 +2455,8 @@ 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.
determined as described in the `-XX:MaxRAM` option. The default value is
0.2 percent.
The following example shows how to set the percentage of the initial
amount of memory used for the Java heap: