Skip to content

Commit cfb353a

Browse files
committed
8373023: [REDO] Remove the default value of InitialRAMPercentage
1 parent 135661b commit cfb353a

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

src/hotspot/share/gc/shared/gc_globals.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
"size on systems with small physical memory size") \
292292
range(0.0, 100.0) \
293293
\
294-
product(double, InitialRAMPercentage, 0.2, \
294+
product(double, InitialRAMPercentage, 0.0, \
295295
"Percentage of real memory used for initial heap size") \
296296
range(0.0, 100.0) \
297297
\

src/hotspot/share/runtime/flags/jvmFlag.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ void JVMFlag::print_on(outputStream* st, bool withComments, bool printRanges) co
162162
// uintx ThresholdTolerance = 10 {product} {default}
163163
// size_t TLABSize = 0 {product} {default}
164164
// uintx SurvivorRatio = 8 {product} {default}
165-
// double InitialRAMPercentage = 1.562500 {product} {default}
165+
// double InitialRAMPercentage = 0.000000 {product} {default}
166166
// ccstr CompileCommandFile = MyFile.cmd {product} {command line}
167167
// ccstrlist CompileOnly = Method1
168168
// CompileOnly += Method2 {product} {command line}

src/java.base/share/man/java.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2455,8 +2455,7 @@ Java HotSpot VM.
24552455
`-XX:InitialRAMPercentage=`*percent*
24562456
: Sets the initial amount of memory that the JVM will use for the Java heap
24572457
before applying ergonomics heuristics as a percentage of the maximum amount
2458-
determined as described in the `-XX:MaxRAM` option. The default value is
2459-
0.2 percent.
2458+
determined as described in the `-XX:MaxRAM` option.
24602459

24612460
The following example shows how to set the percentage of the initial
24622461
amount of memory used for the Java heap:

test/hotspot/jtreg/ProblemList.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ gc/shenandoah/TestEvilSyncBug.java#generational 8345501 generic-all
9696
gc/shenandoah/TestRetainObjects.java#no-tlab 8361099 generic-all
9797
gc/shenandoah/TestSieveObjects.java#no-tlab 8361099 generic-all
9898
gc/shenandoah/TestSieveObjects.java#no-tlab-genshen 8361099 generic-all
99+
gc/cslocker/TestCSLocker.java 8373025 generic-all
99100

100101
#############################################################################
101102

@@ -141,6 +142,8 @@ serviceability/sa/ClhsdbPstack.java#core 8318754 macosx-aarch64
141142
serviceability/sa/TestJmapCore.java 8318754 macosx-aarch64
142143
serviceability/sa/TestJmapCoreMetaspace.java 8318754 macosx-aarch64
143144

145+
serviceability/sa/ClhsdbScanOops.java 8373022 generic-all
146+
144147
serviceability/sa/ClhsdbThreadContext.java 8356704 windows-x64
145148

146149
serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java 8315980 linux-all,windows-x64

test/jdk/ProblemList.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,7 @@ javax/swing/plaf/synth/7158712/bug7158712.java 8324782 macosx-all
715715
# jdk_jdi
716716

717717
com/sun/jdi/InvokeHangTest.java 8218463 linux-all
718+
com/sun/jdi/MethodInvokeWithTraceOnTest.java 8373022 generic-all
718719

719720
############################################################################
720721

0 commit comments

Comments
 (0)