comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.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 284953caf7aa
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14308:870aedf4ba4f 14309:63a4eb8bcd23
1073 set_gcs_are_young(true); 1073 set_gcs_are_young(true);
1074 } 1074 }
1075 } 1075 }
1076 1076
1077 _short_lived_surv_rate_group->start_adding_regions(); 1077 _short_lived_surv_rate_group->start_adding_regions();
1078 // do that for any other surv rate groupsx 1078 // Do that for any other surv rate groups
1079 1079
1080 if (update_stats) { 1080 if (update_stats) {
1081 double cost_per_card_ms = 0.0; 1081 double cost_per_card_ms = 0.0;
1082 if (_pending_cards > 0) { 1082 if (_pending_cards > 0) {
1083 cost_per_card_ms = phase_times()->average_last_update_rs_time() / (double) _pending_cards; 1083 cost_per_card_ms = phase_times()->average_last_update_rs_time() / (double) _pending_cards;
1739 size_t used_bytes = hr->used(); 1739 size_t used_bytes = hr->used();
1740 _inc_cset_recorded_rs_lengths += rs_length; 1740 _inc_cset_recorded_rs_lengths += rs_length;
1741 _inc_cset_predicted_elapsed_time_ms += region_elapsed_time_ms; 1741 _inc_cset_predicted_elapsed_time_ms += region_elapsed_time_ms;
1742 _inc_cset_bytes_used_before += used_bytes; 1742 _inc_cset_bytes_used_before += used_bytes;
1743 1743
1744 // Cache the values we have added to the aggregated informtion 1744 // Cache the values we have added to the aggregated information
1745 // in the heap region in case we have to remove this region from 1745 // in the heap region in case we have to remove this region from
1746 // the incremental collection set, or it is updated by the 1746 // the incremental collection set, or it is updated by the
1747 // rset sampling code 1747 // rset sampling code
1748 hr->set_recorded_rs_length(rs_length); 1748 hr->set_recorded_rs_length(rs_length);
1749 hr->set_predicted_elapsed_time_ms(region_elapsed_time_ms); 1749 hr->set_predicted_elapsed_time_ms(region_elapsed_time_ms);