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 954df2c commit e9d8963Copy full SHA for e9d8963
test/hotspot/jtreg/gc/TestUseGCOverheadLimit.java
@@ -52,9 +52,9 @@ public class TestUseGCOverheadLimit {
52
public static void main(String args[]) throws Exception {
53
String[] parallelArgs = {
54
"-XX:+UseParallelGC",
55
- "-XX:NewSize=20m",
56
- "-XX:SurvivorRatio=5",
57
- "-XX:GCHeapFreeLimit=30" // Parallel GC needs to eat up all of young gen.
+ "-XX:NewSize=122m",
+ "-XX:SurvivorRatio=99",
+ "-XX:GCHeapFreeLimit=10"
58
};
59
String[] g1Args = {
60
"-XX:+UseG1GC",
@@ -92,6 +92,8 @@ public static void main(String[] args) {
92
Object[] obj = new Object[10];
93
cache[i % cache.length] = obj;
94
}
95
+
96
+ System.out.println(cache);
97
98
99
0 commit comments