hotspot/test/gc/g1/TestHumongousAllocInitialMark.java
changeset 35061 be6025ebffea
parent 30604 b8d532cb6420
child 36851 03e2f4d0a421
equal deleted inserted replaced
35060:382d0689141c 35061:be6025ebffea
    44             "-XX:+UseG1GC",
    44             "-XX:+UseG1GC",
    45             "-Xms" + heapSize + "m",
    45             "-Xms" + heapSize + "m",
    46             "-Xmx" + heapSize + "m",
    46             "-Xmx" + heapSize + "m",
    47             "-XX:G1HeapRegionSize=" + heapRegionSize + "m",
    47             "-XX:G1HeapRegionSize=" + heapRegionSize + "m",
    48             "-XX:InitiatingHeapOccupancyPercent=" + initiatingHeapOccupancyPercent,
    48             "-XX:InitiatingHeapOccupancyPercent=" + initiatingHeapOccupancyPercent,
    49             "-XX:+PrintGC",
    49             "-Xlog:gc",
    50             HumongousObjectAllocator.class.getName());
    50             HumongousObjectAllocator.class.getName());
    51 
    51 
    52         OutputAnalyzer output = new OutputAnalyzer(pb.start());
    52         OutputAnalyzer output = new OutputAnalyzer(pb.start());
    53         output.shouldContain("GC pause (G1 Humongous Allocation) (young) (initial-mark)");
    53         output.shouldContain("Pause Initial Mark (G1 Humongous Allocation)");
    54         output.shouldNotContain("Full GC");
    54         output.shouldNotContain("Full GC");
    55         output.shouldHaveExitValue(0);
    55         output.shouldHaveExitValue(0);
    56     }
    56     }
    57 
    57 
    58     static class HumongousObjectAllocator {
    58     static class HumongousObjectAllocator {