diff --git a/test/hotspot/jtreg/ProblemList.txt b/test/hotspot/jtreg/ProblemList.txt index 3038daf090d6e..609ee7c78d143 100644 --- a/test/hotspot/jtreg/ProblemList.txt +++ b/test/hotspot/jtreg/ProblemList.txt @@ -79,8 +79,6 @@ compiler/ciReplay/TestIncrementalInlining.java 8349191 generic-all compiler/c2/TestVerifyConstraintCasts.java 8355574 generic-all -compiler/startup/StartupOutput.java 8358129 windows-all - ############################################################################# # :hotspot_gc diff --git a/test/hotspot/jtreg/compiler/startup/StartupOutput.java b/test/hotspot/jtreg/compiler/startup/StartupOutput.java index 883f1a0803019..22f2887a26664 100644 --- a/test/hotspot/jtreg/compiler/startup/StartupOutput.java +++ b/test/hotspot/jtreg/compiler/startup/StartupOutput.java @@ -60,21 +60,17 @@ public static void main(String[] args) throws Exception { throw new Exception("VM crashed with exit code " + exitCode); } - Process[] pr = new Process[200]; for (int i = 0; i < 200; i++) { int initialCodeCacheSizeInKb = 800 + rand.nextInt(400); int reservedCodeCacheSizeInKb = initialCodeCacheSizeInKb + rand.nextInt(200); pb = ProcessTools.createLimitedTestJavaProcessBuilder("-XX:InitialCodeCacheSize=" + initialCodeCacheSizeInKb + "K", "-XX:ReservedCodeCacheSize=" + reservedCodeCacheSizeInKb + "k", "-version"); - pr[i] = pb.start(); - } - for (int i = 0; i < 200; i++) { - out = new OutputAnalyzer(pr[i]); - // The VM should not crash but will probably fail with a "CodeCache is full. Compiler has been disabled." message - out.stdoutShouldNotContain("# A fatal error"); + out = new OutputAnalyzer(pb.start()); exitCode = out.getExitValue(); if (exitCode != 1 && exitCode != 0) { throw new Exception("VM crashed with exit code " + exitCode); } + // The VM should not crash but will probably fail with a "CodeCache is full. Compiler has been disabled." message + out.stdoutShouldNotContain("# A fatal error"); } } }