< prev index next > test/hotspot/jtreg/gc/ergonomics/TestDynamicNumberOfGCThreads.java
Print this page
if (GC.Parallel.isSupported()) {
noneGCSupported = false;
testDynamicNumberOfGCThreads("UseParallelGC");
}
- if (GC.Shenandoah.isSupported()) {
- noneGCSupported = false;
- testDynamicNumberOfGCThreads("UseShenandoahGC");
- }
-
if (noneGCSupported) {
- throw new SkippedException("Skipping test because none of G1/Parallel/Shenandoah is supported.");
+ throw new SkippedException("Skipping test because none of G1/Parallel is supported.");
}
}
private static void verifyDynamicNumberOfGCThreads(OutputAnalyzer output) {
output.shouldHaveExitValue(0); // test should run succesfully
< prev index next >