hotspot/test/gc/g1/plab/TestPLABPromotion.java
changeset 38726 2c99beca1dd8
parent 38152 80e5da81fb2c
child 39294 4be906c4ad95
equal deleted inserted replaced
38725:2a9e848a3276 38726:2c99beca1dd8
   120             // What we going to check.
   120             // What we going to check.
   121             testCase.print(System.out);
   121             testCase.print(System.out);
   122             List<String> options = PLABUtils.prepareOptions(testCase.toOptions());
   122             List<String> options = PLABUtils.prepareOptions(testCase.toOptions());
   123             options.add(AppPLABPromotion.class.getName());
   123             options.add(AppPLABPromotion.class.getName());
   124             OutputAnalyzer out = ProcessTools.executeTestJvm(options.toArray(new String[options.size()]));
   124             OutputAnalyzer out = ProcessTools.executeTestJvm(options.toArray(new String[options.size()]));
   125             if (out.getExitValue() != 0) {
   125             PLABUtils.commonCheck(out);
   126                 System.out.println(out.getOutput());
       
   127                 throw new RuntimeException("Expect exit code 0.");
       
   128             }
       
   129             output = out.getOutput();
   126             output = out.getOutput();
   130             checkResults(testCase);
   127             checkResults(testCase);
   131         }
   128         }
   132     }
   129     }
   133 
   130