< prev index next >

test/jdk/jdk/jfr/event/gc/collection/TestGCCauseWithG1FullCollection.java

Print this page
*** 38,10 ***
  public class TestGCCauseWithG1FullCollection {
      public static void main(String[] args) throws Exception {
          String testID = "G1FullCollection";
          String[] vmFlags = {"-XX:+UseG1GC"};
          String[] gcNames = {GCHelper.gcG1New, GCHelper.gcG1Old, GCHelper.gcG1Full};
!         String[] gcCauses = {"GCLocker Initiated GC", "G1 Evacuation Pause", "G1 Preventive Collection",
                               "G1 Compaction Pause", "System.gc()"};
          GCGarbageCollectionUtil.test(testID, vmFlags, gcNames, gcCauses);
      }
  }
--- 38,10 ---
  public class TestGCCauseWithG1FullCollection {
      public static void main(String[] args) throws Exception {
          String testID = "G1FullCollection";
          String[] vmFlags = {"-XX:+UseG1GC"};
          String[] gcNames = {GCHelper.gcG1New, GCHelper.gcG1Old, GCHelper.gcG1Full};
!         String[] gcCauses = {"Metadata GC Threshold", "GCLocker Initiated GC", "G1 Evacuation Pause", "G1 Preventive Collection",
                               "G1 Compaction Pause", "System.gc()"};
          GCGarbageCollectionUtil.test(testID, vmFlags, gcNames, gcCauses);
      }
  }
< prev index next >