< prev index next >

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

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

@@ -37,10 +37,11 @@
 
 public class TestThreadCountsOverride {
     public static void main(String[] args) throws Exception {
         {
             ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
+                "-Xmx128m",
                 "-XX:+UnlockDiagnosticVMOptions",
                 "-XX:+UnlockExperimentalVMOptions",
                 "-XX:+UseShenandoahGC",
                 "-XX:ParallelGCThreads=1",
                 "-XX:+PrintFlagsFinal",

@@ -51,10 +52,11 @@
             output.shouldHaveExitValue(0);
         }
 
         {
             ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
+                "-Xmx128m",
                 "-XX:+UnlockDiagnosticVMOptions",
                 "-XX:+UnlockExperimentalVMOptions",
                 "-XX:+UseShenandoahGC",
                 "-XX:ConcGCThreads=1",
                 "-XX:+PrintFlagsFinal",
< prev index next >