changeset 31789:c8c579616fc8

8080733: [TESTBUG] several runtime/ErrorHandling/* tests time out on Windows Reviewed-by: coleenp, gtriantafill
author ctornqvi
date Wed, 15 Jul 2015 10:37:11 -0700
parents 04af91b7fadd
children 619b204d5475 01f875743508
files hotspot/test/runtime/ErrorHandling/CreateCoredumpOnCrash.java hotspot/test/runtime/ErrorHandling/TestOnError.java hotspot/test/runtime/memory/ReserveMemory.java
diffstat 3 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/test/runtime/ErrorHandling/CreateCoredumpOnCrash.java	Tue Jul 14 16:28:53 2015 +0200
+++ b/hotspot/test/runtime/ErrorHandling/CreateCoredumpOnCrash.java	Wed Jul 15 10:37:11 2015 -0700
@@ -46,16 +46,8 @@
         runTest("-XX:-CreateCoredumpOnCrash").shouldContain("CreateCoredumpOnCrash turned off, no core file dumped");
 
         if (Platform.isWindows()) {
-            runTest("-XX:+CreateCoredumpOnCrash").shouldContain("Core dump will be written. Default location");
-
             // The old CreateMinidumpOnCrash option should still work
-            runTest("-XX:+CreateMinidumpOnCrash").shouldContain("Core dump will be written. Default location");
             runTest("-XX:-CreateMinidumpOnCrash").shouldContain("CreateCoredumpOnCrash turned off, no core file dumped");
-
-            if (Platform.isDebugBuild()) {
-                // Make sure we create dumps on Windows debug builds by default
-                runTest("-Ddummyopt=false").shouldContain("Core dump will be written. Default location");
-            }
         } else {
             runTest("-XX:+CreateCoredumpOnCrash").shouldNotContain("CreateCoredumpOnCrash turned off, no core file dumped");
         }
--- a/hotspot/test/runtime/ErrorHandling/TestOnError.java	Tue Jul 14 16:28:53 2015 +0200
+++ b/hotspot/test/runtime/ErrorHandling/TestOnError.java	Wed Jul 15 10:37:11 2015 -0700
@@ -45,6 +45,7 @@
         // Execute the VM so that a
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
            "-XX:-TransmitErrorReport",
+           "-XX:-CreateCoredumpOnCrash",
            "-XX:ErrorHandlerTest=12", // trigger potential SEGV
            "-XX:OnError=echo " + msg,
            TestOnError.class.getName());
--- a/hotspot/test/runtime/memory/ReserveMemory.java	Tue Jul 14 16:28:53 2015 +0200
+++ b/hotspot/test/runtime/memory/ReserveMemory.java	Wed Jul 15 10:37:11 2015 -0700
@@ -60,6 +60,7 @@
           "-XX:+UnlockDiagnosticVMOptions",
           "-XX:+WhiteBoxAPI",
           "-XX:-TransmitErrorReport",
+          "-XX:-CreateCoredumpOnCrash",
           "-Xmx32m",
           "ReserveMemory",
           "test");