src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp	Wed Jan 15 01:40:51 2014
--- new/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp	Wed Jan 15 01:40:51 2014

*** 1073,1083 **** --- 1073,1083 ---- set_gcs_are_young(true); } } _short_lived_surv_rate_group->start_adding_regions(); // do that for any other surv rate groupsx + // Do that for any other surv rate groups if (update_stats) { double cost_per_card_ms = 0.0; if (_pending_cards > 0) { cost_per_card_ms = phase_times()->average_last_update_rs_time() / (double) _pending_cards;
*** 1739,1749 **** --- 1739,1749 ---- size_t used_bytes = hr->used(); _inc_cset_recorded_rs_lengths += rs_length; _inc_cset_predicted_elapsed_time_ms += region_elapsed_time_ms; _inc_cset_bytes_used_before += used_bytes; ! // Cache the values we have added to the aggregated informtion ! // Cache the values we have added to the aggregated information // in the heap region in case we have to remove this region from // the incremental collection set, or it is updated by the // rset sampling code hr->set_recorded_rs_length(rs_length); hr->set_predicted_elapsed_time_ms(region_elapsed_time_ms);

src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File