test/hotspot/jtreg/gc/shenandoah/options/TestThreadCounts.java
changeset 58482 b4c660a75b54
parent 55219 cfd1e298ca33
child 58679 9c3209ff7550
equal deleted inserted replaced
58481:48a73ec3a817 58482:b4c660a75b54
    59         } else if (par == 0) {
    59         } else if (par == 0) {
    60             output.shouldContain("Shenandoah expects ParallelGCThreads > 0");
    60             output.shouldContain("Shenandoah expects ParallelGCThreads > 0");
    61             output.shouldHaveExitValue(1);
    61             output.shouldHaveExitValue(1);
    62         } else if (conc > par) {
    62         } else if (conc > par) {
    63             output.shouldContain("Shenandoah expects ConcGCThreads <= ParallelGCThreads");
    63             output.shouldContain("Shenandoah expects ConcGCThreads <= ParallelGCThreads");
    64             output.shouldHaveExitValue(0);
    64             output.shouldHaveExitValue(1);
    65         } else {
    65         } else {
    66             output.shouldNotContain("Shenandoah expects ConcGCThreads <= ParallelGCThreads");
    66             output.shouldNotContain("Shenandoah expects ConcGCThreads <= ParallelGCThreads");
    67             output.shouldHaveExitValue(0);
    67             output.shouldHaveExitValue(0);
    68         }
    68         }
    69     }
    69     }