We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 367c304 commit a9a5f7cCopy full SHA for a9a5f7c
src/hotspot/share/gc/shared/genArguments.cpp
@@ -37,7 +37,11 @@ size_t MinNewSize = 0;
37
size_t MinOldSize = 0;
38
size_t MaxOldSize = 0;
39
40
-size_t OldSize = 0;
+// If InitialHeapSize or MinHeapSize is not set on cmdline, this variable,
41
+// together with NewSize, is used to derive them.
42
+// Using the same value when it was a configurable flag to avoid breakage.
43
+// See more in JDK-8346005
44
+size_t OldSize = ScaleForWordSize(4*M);
45
46
size_t GenAlignment = 0;
47
0 commit comments