hotspot/src/share/vm/gc/parallel/psScavenge.cpp
changeset 32623 390a27af5657
parent 31634 0aa645cd8cc3
child 33105 294e48b4f704
child 33160 c59f1676d27e
equal deleted inserted replaced
32622:7ed47d0b888a 32623:390a27af5657
   595         // Resize the young generation at every collection
   595         // Resize the young generation at every collection
   596         // even if new sizes have not been calculated.  This is
   596         // even if new sizes have not been calculated.  This is
   597         // to allow resizes that may have been inhibited by the
   597         // to allow resizes that may have been inhibited by the
   598         // relative location of the "to" and "from" spaces.
   598         // relative location of the "to" and "from" spaces.
   599 
   599 
   600         // Resizing the old gen at minor collects can cause increases
   600         // Resizing the old gen at young collections can cause increases
   601         // that don't feed back to the generation sizing policy until
   601         // that don't feed back to the generation sizing policy until
   602         // a major collection.  Don't resize the old gen here.
   602         // a full collection.  Don't resize the old gen here.
   603 
   603 
   604         heap->resize_young_gen(size_policy->calculated_eden_size_in_bytes(),
   604         heap->resize_young_gen(size_policy->calculated_eden_size_in_bytes(),
   605                         size_policy->calculated_survivor_size_in_bytes());
   605                         size_policy->calculated_survivor_size_in_bytes());
   606 
   606 
   607         if (PrintAdaptiveSizePolicy) {
   607         if (PrintAdaptiveSizePolicy) {