equal
deleted
inserted
replaced
228 if (NewSize < 3 * _min_alignment) { |
228 if (NewSize < 3 * _min_alignment) { |
229 // make sure there room for eden and two survivor spaces |
229 // make sure there room for eden and two survivor spaces |
230 vm_exit_during_initialization("Too small new size specified"); |
230 vm_exit_during_initialization("Too small new size specified"); |
231 } |
231 } |
232 if (SurvivorRatio < 1 || NewRatio < 1) { |
232 if (SurvivorRatio < 1 || NewRatio < 1) { |
233 vm_exit_during_initialization("Invalid heap ratio specified"); |
233 vm_exit_during_initialization("Invalid young gen ratio specified"); |
234 } |
234 } |
235 } |
235 } |
236 |
236 |
237 void TwoGenerationCollectorPolicy::initialize_flags() { |
237 void TwoGenerationCollectorPolicy::initialize_flags() { |
238 GenCollectorPolicy::initialize_flags(); |
238 GenCollectorPolicy::initialize_flags(); |