--- old/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp 2013-06-06 11:23:21.000000000 +0200 +++ new/src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp 2013-06-06 11:23:21.000000000 +0200 @@ -1165,7 +1165,7 @@ // 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 + // tenuring threshold is to differences in cost between the // collection types. // Get the times of interest. This involves a little work, so @@ -1257,7 +1257,7 @@ avg_promoted()->padded_average(), _avg_pretenured->padded_average(), tenuring_threshold, target_size); - tty->cr(); + gclog_or_tty->cr(); } set_survivor_size(target_size); @@ -1285,6 +1285,7 @@ " promoted: " SIZE_FORMAT " overflow: %s", survived, promoted, is_survivor_overflow ? "true" : "false"); + gclog_or_tty->cr(); } }