src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp

src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp

Print this page

        

*** 1163,1173 **** // Keep running averages on how much survived // We use the tenuring threshold to equalize the cost of major // and minor collections. // ThresholdTolerance is used to indicate how sensitive the ! // tenuring threshold is to differences in cost betweent the // collection types. // Get the times of interest. This involves a little work, so // we cache the values here. const double major_cost = major_gc_cost(); --- 1163,1173 ---- // Keep running averages on how much survived // We use the tenuring threshold to equalize the cost of major // and minor collections. // ThresholdTolerance is used to indicate how sensitive the ! // tenuring threshold is to differences in cost between the // collection types. // Get the times of interest. This involves a little work, so // we cache the values here. const double major_cost = major_gc_cost();
*** 1255,1265 **** " tenuring_thresh: %d" " target_size: " SIZE_FORMAT, avg_promoted()->padded_average(), _avg_pretenured->padded_average(), tenuring_threshold, target_size); ! tty->cr(); } set_survivor_size(target_size); return tenuring_threshold; --- 1255,1265 ---- " tenuring_thresh: %d" " target_size: " SIZE_FORMAT, avg_promoted()->padded_average(), _avg_pretenured->padded_average(), tenuring_threshold, target_size); ! gclog_or_tty->cr(); } set_survivor_size(target_size); return tenuring_threshold;
*** 1283,1292 **** --- 1283,1293 ---- "AdaptiveSizePolicy::update_averages:" " survived: " SIZE_FORMAT " promoted: " SIZE_FORMAT " overflow: %s", survived, promoted, is_survivor_overflow ? "true" : "false"); + gclog_or_tty->cr(); } } bool PSAdaptiveSizePolicy::print_adaptive_size_policy_on(outputStream* st) const {
src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File