test/hotspot/jtreg/gc/arguments/TestNewRatioFlag.java
changeset 59053 ba6c248cae19
parent 55610 47fdb5b0fa41
equal deleted inserted replaced
59051:f0312c7d5b37 59053:ba6c248cae19
    99                 throw new IllegalArgumentException("Expected 1 arg: <expectedRatio>");
    99                 throw new IllegalArgumentException("Expected 1 arg: <expectedRatio>");
   100             }
   100             }
   101             int expectedRatio = Integer.valueOf(args[0]);
   101             int expectedRatio = Integer.valueOf(args[0]);
   102             switch (GCTypes.YoungGCType.getYoungGCType()) {
   102             switch (GCTypes.YoungGCType.getYoungGCType()) {
   103                 case DefNew:
   103                 case DefNew:
   104                 case ParNew:
       
   105                     verifyDefNewNewRatio(expectedRatio);
   104                     verifyDefNewNewRatio(expectedRatio);
   106                     break;
   105                     break;
   107                 case PSNew:
   106                 case PSNew:
   108                     verifyPSNewRatio(expectedRatio);
   107                     verifyPSNewRatio(expectedRatio);
   109                     break;
   108                     break;