hotspot/src/share/vm/memory/collectorPolicy.cpp
changeset 20399 d9bb551bf53d
parent 20398 b206c580c45f
child 20406 934f0b12daa9
equal deleted inserted replaced
20398:b206c580c45f 20399:d9bb551bf53d
   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();