< prev index next >

test/jdk/tools/jlink/plugins/VendorInfoPluginsTest.java

Print this page
rev 57174 : 8234696: tools/jlink/plugins/VendorInfoPluginsTest.java times out

@@ -81,19 +81,22 @@
         var launcher
             = image.resolve("bin/java"
                             + (System.getProperty("os.name").startsWith("Windows")
                                ? ".exe" : "")).toString();
         var oa = ProcessTools.executeProcess(launcher,
+                                             "-Xmx64m",
                                              "-XshowSettings:properties",
                                              "--version");
         oa.stderrShouldMatch("^ +java.vendor.url.bug = " + BUG_URL + "$");
         oa.stderrShouldMatch("^ +java.vendor.version = " + VERSION + "$");
         oa.stdoutShouldMatch("^.*Runtime Environment " + VERSION + " \\(.*build.*$");
         oa.stdoutShouldMatch("^.*VM " + VERSION + " \\(.*build.*$");
 
         // VM error log
         oa = ProcessTools.executeProcess(launcher,
+                                         "-Xmx64m",
+                                         "-XX:-CreateCoredumpOnCrash",
                                          "--class-path",
                                          System.getProperty("test.classes"),
                                          "VendorInfoPluginsTest$Crasher");
         oa.stdoutShouldMatch("^# +" + VM_BUG_URL + "$");
         oa.stdoutShouldMatch("^.*Runtime Environment " + VERSION + " \\(.*$");
< prev index next >