hotspot/test/gc/g1/TestHumongousAllocInitialMark.java
changeset 35061 be6025ebffea
parent 30604 b8d532cb6420
child 36851 03e2f4d0a421
--- 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);
     }