equal
deleted
inserted
replaced
110 _cur_strong_code_root_purge_time_ms = 0.0; |
110 _cur_strong_code_root_purge_time_ms = 0.0; |
111 _cur_evac_fail_recalc_used = 0.0; |
111 _cur_evac_fail_recalc_used = 0.0; |
112 _cur_evac_fail_restore_remsets = 0.0; |
112 _cur_evac_fail_restore_remsets = 0.0; |
113 _cur_evac_fail_remove_self_forwards = 0.0; |
113 _cur_evac_fail_remove_self_forwards = 0.0; |
114 _cur_string_dedup_fixup_time_ms = 0.0; |
114 _cur_string_dedup_fixup_time_ms = 0.0; |
|
115 _cur_prepare_tlab_time_ms = 0.0; |
|
116 _cur_resize_tlab_time_ms = 0.0; |
|
117 _cur_derived_pointer_table_update_time_ms = 0.0; |
115 _cur_clear_ct_time_ms = 0.0; |
118 _cur_clear_ct_time_ms = 0.0; |
116 _cur_expand_heap_time_ms = 0.0; |
119 _cur_expand_heap_time_ms = 0.0; |
117 _cur_ref_proc_time_ms = 0.0; |
120 _cur_ref_proc_time_ms = 0.0; |
118 _cur_ref_enq_time_ms = 0.0; |
121 _cur_ref_enq_time_ms = 0.0; |
119 _cur_collection_start_sec = 0.0; |
122 _cur_collection_start_sec = 0.0; |
123 _recorded_young_cset_choice_time_ms = 0.0; |
126 _recorded_young_cset_choice_time_ms = 0.0; |
124 _recorded_non_young_cset_choice_time_ms = 0.0; |
127 _recorded_non_young_cset_choice_time_ms = 0.0; |
125 _recorded_redirty_logged_cards_time_ms = 0.0; |
128 _recorded_redirty_logged_cards_time_ms = 0.0; |
126 _recorded_preserve_cm_referents_time_ms = 0.0; |
129 _recorded_preserve_cm_referents_time_ms = 0.0; |
127 _recorded_merge_pss_time_ms = 0.0; |
130 _recorded_merge_pss_time_ms = 0.0; |
|
131 _recorded_start_new_cset_time_ms = 0.0; |
128 _recorded_total_free_cset_time_ms = 0.0; |
132 _recorded_total_free_cset_time_ms = 0.0; |
129 _recorded_serial_free_cset_time_ms = 0.0; |
133 _recorded_serial_free_cset_time_ms = 0.0; |
130 _cur_fast_reclaim_humongous_time_ms = 0.0; |
134 _cur_fast_reclaim_humongous_time_ms = 0.0; |
131 _cur_fast_reclaim_humongous_register_time_ms = 0.0; |
135 _cur_fast_reclaim_humongous_register_time_ms = 0.0; |
132 _cur_fast_reclaim_humongous_total = 0; |
136 _cur_fast_reclaim_humongous_total = 0; |
286 info_time("Pre Evacuate Collection Set", sum_ms); |
290 info_time("Pre Evacuate Collection Set", sum_ms); |
287 |
291 |
288 if (_root_region_scan_wait_time_ms > 0.0) { |
292 if (_root_region_scan_wait_time_ms > 0.0) { |
289 debug_time("Root Region Scan Waiting", _root_region_scan_wait_time_ms); |
293 debug_time("Root Region Scan Waiting", _root_region_scan_wait_time_ms); |
290 } |
294 } |
|
295 debug_time("Prepare TLABs", _cur_prepare_tlab_time_ms); |
291 debug_time("Choose Collection Set", (_recorded_young_cset_choice_time_ms + _recorded_non_young_cset_choice_time_ms)); |
296 debug_time("Choose Collection Set", (_recorded_young_cset_choice_time_ms + _recorded_non_young_cset_choice_time_ms)); |
292 if (G1EagerReclaimHumongousObjects) { |
297 if (G1EagerReclaimHumongousObjects) { |
293 debug_time("Humongous Register", _cur_fast_reclaim_humongous_register_time_ms); |
298 debug_time("Humongous Register", _cur_fast_reclaim_humongous_register_time_ms); |
294 trace_count("Humongous Total", _cur_fast_reclaim_humongous_total); |
299 trace_count("Humongous Total", _cur_fast_reclaim_humongous_total); |
295 trace_count("Humongous Candidate", _cur_fast_reclaim_humongous_candidates); |
300 trace_count("Humongous Candidate", _cur_fast_reclaim_humongous_candidates); |
373 |
378 |
374 debug_time("Merge Per-Thread State", _recorded_merge_pss_time_ms); |
379 debug_time("Merge Per-Thread State", _recorded_merge_pss_time_ms); |
375 debug_time("Code Roots Purge", _cur_strong_code_root_purge_time_ms); |
380 debug_time("Code Roots Purge", _cur_strong_code_root_purge_time_ms); |
376 |
381 |
377 debug_time("Redirty Cards", _recorded_redirty_logged_cards_time_ms); |
382 debug_time("Redirty Cards", _recorded_redirty_logged_cards_time_ms); |
|
383 #if defined(COMPILER2) || INCLUDE_JVMCI |
|
384 debug_time("DerivedPointerTable Update", _cur_derived_pointer_table_update_time_ms); |
|
385 #endif |
378 if (_recorded_clear_claimed_marks_time_ms > 0.0) { |
386 if (_recorded_clear_claimed_marks_time_ms > 0.0) { |
379 debug_time("Clear Claimed Marks", _recorded_clear_claimed_marks_time_ms); |
387 debug_time("Clear Claimed Marks", _recorded_clear_claimed_marks_time_ms); |
380 } |
388 } |
381 |
389 |
382 trace_phase(_gc_par_phases[RedirtyCards]); |
390 trace_phase(_gc_par_phases[RedirtyCards]); |
387 trace_phase(_gc_par_phases[NonYoungFreeCSet]); |
395 trace_phase(_gc_par_phases[NonYoungFreeCSet]); |
388 |
396 |
389 if (G1EagerReclaimHumongousObjects) { |
397 if (G1EagerReclaimHumongousObjects) { |
390 debug_time("Humongous Reclaim", _cur_fast_reclaim_humongous_time_ms); |
398 debug_time("Humongous Reclaim", _cur_fast_reclaim_humongous_time_ms); |
391 trace_count("Humongous Reclaimed", _cur_fast_reclaim_humongous_reclaimed); |
399 trace_count("Humongous Reclaimed", _cur_fast_reclaim_humongous_reclaimed); |
|
400 } |
|
401 debug_time("Start New Collection Set", _recorded_start_new_cset_time_ms); |
|
402 if (UseTLAB && ResizeTLAB) { |
|
403 debug_time("Resize TLABs", _cur_resize_tlab_time_ms); |
392 } |
404 } |
393 debug_time("Expand Heap After Collection", _cur_expand_heap_time_ms); |
405 debug_time("Expand Heap After Collection", _cur_expand_heap_time_ms); |
394 |
406 |
395 |
407 |
396 return sum_ms; |
408 return sum_ms; |