hotspot/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp
changeset 22551 9bf46d16dcc6
parent 22205 8ee59199b85d
child 22555 ea32f6c51d08
equal deleted inserted replaced
22550:820966182ab9 22551:9bf46d16dcc6
   556         if (UseAdaptiveSizePolicy &&
   556         if (UseAdaptiveSizePolicy &&
   557             UseAdaptiveGenerationSizePolicyAtMinorCollection &&
   557             UseAdaptiveGenerationSizePolicyAtMinorCollection &&
   558             ((gc_cause != GCCause::_java_lang_system_gc) ||
   558             ((gc_cause != GCCause::_java_lang_system_gc) ||
   559               UseAdaptiveSizePolicyWithSystemGC)) {
   559               UseAdaptiveSizePolicyWithSystemGC)) {
   560 
   560 
   561           // Calculate optimial free space amounts
   561           // Calculate optimal free space amounts
   562           assert(young_gen->max_size() >
   562           assert(young_gen->max_size() >
   563             young_gen->from_space()->capacity_in_bytes() +
   563             young_gen->from_space()->capacity_in_bytes() +
   564             young_gen->to_space()->capacity_in_bytes(),
   564             young_gen->to_space()->capacity_in_bytes(),
   565             "Sizes of space in young gen are out-of-bounds");
   565             "Sizes of space in young gen are out-of-bounds");
   566 
   566