equal
deleted
inserted
replaced
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 |