hotspot/src/share/vm/gc/parallel/psAdaptiveSizePolicy.cpp
changeset 32623 390a27af5657
parent 31634 0aa645cd8cc3
child 33227 b00ec45f8c2c
equal deleted inserted replaced
32622:7ed47d0b888a 32623:390a27af5657
   297   // young generation.  This limit is an estimate of the space left
   297   // young generation.  This limit is an estimate of the space left
   298   // in the young generation after the survivor spaces have been
   298   // in the young generation after the survivor spaces have been
   299   // subtracted out.
   299   // subtracted out.
   300   size_t eden_limit = max_eden_size;
   300   size_t eden_limit = max_eden_size;
   301 
   301 
   302   const double gc_cost_limit = GCTimeLimit/100.0;
   302   const double gc_cost_limit = GCTimeLimit / 100.0;
   303 
   303 
   304   // Which way should we go?
   304   // Which way should we go?
   305   // if pause requirement is not met
   305   // if pause requirement is not met
   306   //   adjust size of any generation with average paus exceeding
   306   //   adjust size of any generation with average paus exceeding
   307   //   the pause limit.  Adjust one pause at a time (the larger)
   307   //   the pause limit.  Adjust one pause at a time (the larger)