Skip to content

Commit 8cdcb33

Browse files
committed
OWS-647 ITW #622: update jvmarg whitelist
1 parent f8486f3 commit 8cdcb33

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

core/src/main/java/net/adoptopenjdk/icedteaweb/jvm/JvmUtils.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,10 @@ private static String[] getValidVMArguments() {
191191
"-XX:+UseParNewGC",
192192
"-XX:+PrintFlagsFinal",
193193
"-XX:+PrintCommandLineFlags",
194-
"-XX:+PrintGCDateStamps"
194+
"-XX:+PrintGCDateStamps",
195+
"-XX:G1NewSizePercent",
196+
"-XX:G1ReservePercent",
197+
"-XX:+UseEpsilonGC"
195198
};
196199
}
197200

@@ -252,6 +255,7 @@ private static String[] getValidStartingVMArguments() {
252255
"-XX:InitialRAMPercentage", /* The initial heap size as percentage of total memory, conflicts with Xms */
253256
"-XX:MinRAMPercentage", /* Sets the max heap size of RAM as a percentage before looking at other heuristics like MaxRAMPercentage. This is primarily useful for low memory environments (<100m) */
254257
"-XX:MaxRAMPercentage", /* Sets the max heap size of RAM as a percentage */
258+
"-XX:G1HeapRegionSize"
255259
};
256260
}
257261

@@ -306,7 +310,8 @@ private static String[] getValidSecureProperties() {
306310
"sun.java2d.uiScale",
307311
"prism.allowhidpi", // for JavaFX
308312
"sun.net.client.defaultConnectTimeout",
309-
"sun.net.client.defaultReadTimeout"
313+
"sun.net.client.defaultReadTimeout",
314+
"jdk.jar.maxSignatureFileSize"
310315
};
311316
}
312317

0 commit comments

Comments
 (0)