--- a/hotspot/test/gc/g1/TestHumongousAllocInitialMark.java Thu Dec 10 23:02:31 2015 +0000
+++ b/hotspot/test/gc/g1/TestHumongousAllocInitialMark.java Thu Dec 10 14:57:55 2015 +0100
@@ -46,11 +46,11 @@
"-Xmx" + heapSize + "m",
"-XX:G1HeapRegionSize=" + heapRegionSize + "m",
"-XX:InitiatingHeapOccupancyPercent=" + initiatingHeapOccupancyPercent,
- "-XX:+PrintGC",
+ "-Xlog:gc",
HumongousObjectAllocator.class.getName());
OutputAnalyzer output = new OutputAnalyzer(pb.start());
- output.shouldContain("GC pause (G1 Humongous Allocation) (young) (initial-mark)");
+ output.shouldContain("Pause Initial Mark (G1 Humongous Allocation)");
output.shouldNotContain("Full GC");
output.shouldHaveExitValue(0);
}