equal
deleted
inserted
replaced
124 */ |
124 */ |
125 public static Void verifySurvivorRatio(int expectedRatio) { |
125 public static Void verifySurvivorRatio(int expectedRatio) { |
126 GCTypes.YoungGCType type = GCTypes.YoungGCType.getYoungGCType(); |
126 GCTypes.YoungGCType type = GCTypes.YoungGCType.getYoungGCType(); |
127 switch (type) { |
127 switch (type) { |
128 case DefNew: |
128 case DefNew: |
129 case ParNew: |
|
130 verifyDefNewSurvivorRatio(expectedRatio); |
129 verifyDefNewSurvivorRatio(expectedRatio); |
131 break; |
130 break; |
132 case PSNew: |
131 case PSNew: |
133 verifyPSSurvivorRatio(expectedRatio); |
132 verifyPSSurvivorRatio(expectedRatio); |
134 break; |
133 break; |