src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp Thu Jun 6 11:23:21 2013
--- new/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp Thu Jun 6 11:23:21 2013
*** 1163,1173 ****
--- 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();
*** 1255,1265 ****
--- 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