comparison src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp @ 14309:63a4eb8bcd23

8025856: Fix typos in the GC code Summary: Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author jwilhelm
date Thu, 23 Jan 2014 14:47:23 +0100
parents 8f07aa079343
children 44315152d434
comparison
equal deleted inserted replaced
14308:870aedf4ba4f 14309:63a4eb8bcd23
480 // adjust one generation at a time. 480 // adjust one generation at a time.
481 // else 481 // else
482 // adjust down the total heap size. Adjust down the larger of the 482 // adjust down the total heap size. Adjust down the larger of the
483 // generations. 483 // generations.
484 484
485 // Add some checks for a threshhold for a change. For example, 485 // Add some checks for a threshold for a change. For example,
486 // a change less than the necessary alignment is probably not worth 486 // a change less than the necessary alignment is probably not worth
487 // attempting. 487 // attempting.
488 488
489 if ((_avg_minor_pause->padded_average() > gc_pause_goal_sec()) || 489 if ((_avg_minor_pause->padded_average() > gc_pause_goal_sec()) ||
490 (_avg_major_pause->padded_average() > gc_pause_goal_sec())) { 490 (_avg_major_pause->padded_average() > gc_pause_goal_sec())) {
1159 // Keep running averages on how much survived 1159 // Keep running averages on how much survived
1160 1160
1161 // We use the tenuring threshold to equalize the cost of major 1161 // We use the tenuring threshold to equalize the cost of major
1162 // and minor collections. 1162 // and minor collections.
1163 // ThresholdTolerance is used to indicate how sensitive the 1163 // ThresholdTolerance is used to indicate how sensitive the
1164 // tenuring threshold is to differences in cost betweent the 1164 // tenuring threshold is to differences in cost between the
1165 // collection types. 1165 // collection types.
1166 1166
1167 // Get the times of interest. This involves a little work, so 1167 // Get the times of interest. This involves a little work, so
1168 // we cache the values here. 1168 // we cache the values here.
1169 const double major_cost = major_gc_cost(); 1169 const double major_cost = major_gc_cost();