src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.cpp

Print this page

        

*** 967,986 **** size_t delta = promo_increment(cur_promo); return align_size_up(delta, generation_alignment()); } ! void CMSAdaptiveSizePolicy::compute_young_generation_free_space(size_t cur_eden, size_t max_eden_size) { size_t desired_eden_size = cur_eden; size_t eden_limit = max_eden_size; // Printout input if (PrintGC && PrintAdaptiveSizePolicy) { gclog_or_tty->print_cr( ! "CMSAdaptiveSizePolicy::compute_young_generation_free_space: " "cur_eden " SIZE_FORMAT, cur_eden); } // Used for diagnostics --- 967,986 ---- size_t delta = promo_increment(cur_promo); return align_size_up(delta, generation_alignment()); } ! void CMSAdaptiveSizePolicy::compute_eden_space_size(size_t cur_eden, size_t max_eden_size) { size_t desired_eden_size = cur_eden; size_t eden_limit = max_eden_size; // Printout input if (PrintGC && PrintAdaptiveSizePolicy) { gclog_or_tty->print_cr( ! "CMSAdaptiveSizePolicy::compute_eden_space_size: " "cur_eden " SIZE_FORMAT, cur_eden); } // Used for diagnostics
*** 1022,1032 **** desired_eden_size = adjust_eden_for_footprint(desired_eden_size); } if (PrintGC && PrintAdaptiveSizePolicy) { gclog_or_tty->print_cr( ! "CMSAdaptiveSizePolicy::compute_young_generation_free_space limits:" " desired_eden_size: " SIZE_FORMAT " old_eden_size: " SIZE_FORMAT, desired_eden_size, cur_eden); } --- 1022,1032 ---- desired_eden_size = adjust_eden_for_footprint(desired_eden_size); } if (PrintGC && PrintAdaptiveSizePolicy) { gclog_or_tty->print_cr( ! "CMSAdaptiveSizePolicy::compute_eden_space_size limits:" " desired_eden_size: " SIZE_FORMAT " old_eden_size: " SIZE_FORMAT, desired_eden_size, cur_eden); }