equal
deleted
inserted
replaced
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; |