--- old/test/hotspot/jtreg/serviceability/sa/TestUniverse.java 2018-06-06 18:21:30.551369685 +0200 +++ new/test/hotspot/jtreg/serviceability/sa/TestUniverse.java 2018-06-06 18:21:30.275369746 +0200 @@ -102,13 +102,19 @@ output.shouldContain("PSYoungGen"); output.shouldContain("eden"); } - + if (gc.contains("UseEpsilonGC")) { + output.shouldContain("Epsilon heap"); + output.shouldContain("reserved"); + output.shouldContain("committed"); + output.shouldContain("used"); + } } public static void test(String gc) throws Exception { LingeredApp app = null; try { List vmArgs = new ArrayList(); + vmArgs.add("-XX:+UnlockExperimentalVMOptions"); // unlock experimental GCs vmArgs.add(gc); app = LingeredApp.startApp(vmArgs); System.out.println ("Started LingeredApp with the GC option " + gc + @@ -133,6 +139,7 @@ test("-XX:+UseParallelGC"); test("-XX:+UseSerialGC"); test("-XX:+UseConcMarkSweepGC"); + test("-XX:+UseEpsilonGC"); } catch (Exception e) { throw new Error("Test failed with " + e); }