mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-15 13:39:06 +00:00
8348278: Trim InitialRAMPercentage to improve startup in default modes
Reviewed-by: eosterlund, sjohanss
This commit is contained in:
parent
54206943a1
commit
1512d889de
@ -289,7 +289,7 @@
|
||||
"size on systems with small physical memory size") \
|
||||
range(0.0, 100.0) \
|
||||
\
|
||||
product(double, InitialRAMPercentage, 1.5625, \
|
||||
product(double, InitialRAMPercentage, 0.2, \
|
||||
"Percentage of real memory used for initial heap size") \
|
||||
range(0.0, 100.0) \
|
||||
\
|
||||
|
||||
@ -2448,7 +2448,7 @@ Java HotSpot VM.
|
||||
: 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
|
||||
1.5625 percent.
|
||||
0.2 percent.
|
||||
|
||||
The following example shows how to set the percentage of the initial
|
||||
amount of memory used for the Java heap:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user