< prev index next >

test/hotspot/jtreg/gc/shenandoah/options/TestExplicitGC.java

Print this page
rev 59823 : 8247751: Shenandoah: options tests should run with smaller heaps
Reviewed-by: XXX

@@ -59,10 +59,11 @@
                 "Pause Final Mark",
         };
 
         {
             ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
+                    "-Xmx128m",
                     "-XX:+UnlockExperimentalVMOptions",
                     "-XX:+UseShenandoahGC",
                     "-Xlog:gc",
                     TestExplicitGC.class.getName(),
                     "test");

@@ -75,10 +76,11 @@
             }
         }
 
         {
             ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
+                    "-Xmx128m",
                     "-XX:+UnlockExperimentalVMOptions",
                     "-XX:+UseShenandoahGC",
                     "-Xlog:gc",
                     "-XX:+DisableExplicitGC",
                     TestExplicitGC.class.getName(),

@@ -92,10 +94,11 @@
             }
         }
 
         {
             ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
+                    "-Xmx128m",
                     "-XX:+UnlockExperimentalVMOptions",
                     "-XX:+UseShenandoahGC",
                     "-Xlog:gc",
                     "-XX:+ExplicitGCInvokesConcurrent",
                     TestExplicitGC.class.getName(),

@@ -109,10 +112,11 @@
             }
         }
 
         {
             ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
+                    "-Xmx128m",
                     "-XX:+UnlockExperimentalVMOptions",
                     "-XX:+UseShenandoahGC",
                     "-Xlog:gc",
                     "-XX:-ExplicitGCInvokesConcurrent",
                     TestExplicitGC.class.getName(),

@@ -126,10 +130,11 @@
             }
         }
 
         {
             ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
+                    "-Xmx128m",
                     "-XX:+UnlockExperimentalVMOptions",
                     "-XX:+UseShenandoahGC",
                     "-Xlog:gc",
                     "-XX:+ExplicitGCInvokesConcurrent",
                     "-XX:ShenandoahGCMode=iu",
< prev index next >