equal
deleted
inserted
replaced
684 _collection_set->old_region_length()); |
684 _collection_set->old_region_length()); |
685 } |
685 } |
686 |
686 |
687 _analytics->report_constant_other_time_ms(constant_other_time_ms(pause_time_ms)); |
687 _analytics->report_constant_other_time_ms(constant_other_time_ms(pause_time_ms)); |
688 |
688 |
689 _analytics->report_pending_cards((double) _pending_cards); |
689 // Do not update RS lengths and the number of pending cards with information from mixed gc: |
690 _analytics->report_rs_lengths((double) _max_rs_lengths); |
690 // these are is wildly different to during young only gc and mess up young gen sizing right |
|
691 // after the mixed gc phase. |
|
692 // During mixed gc we do not use them for young gen sizing. |
|
693 if (this_pause_was_young_only) { |
|
694 _analytics->report_pending_cards((double) _pending_cards); |
|
695 _analytics->report_rs_lengths((double) _max_rs_lengths); |
|
696 } |
691 } |
697 } |
692 |
698 |
693 assert(!(this_pause_included_initial_mark && collector_state()->mark_or_rebuild_in_progress()), |
699 assert(!(this_pause_included_initial_mark && collector_state()->mark_or_rebuild_in_progress()), |
694 "If the last pause has been an initial mark, we should not have been in the marking window"); |
700 "If the last pause has been an initial mark, we should not have been in the marking window"); |
695 if (this_pause_included_initial_mark) { |
701 if (this_pause_included_initial_mark) { |