equal
deleted
inserted
replaced
283 |
283 |
284 double G1GCPhaseTimes::print_pre_evacuate_collection_set() const { |
284 double G1GCPhaseTimes::print_pre_evacuate_collection_set() const { |
285 const double sum_ms = _root_region_scan_wait_time_ms + |
285 const double sum_ms = _root_region_scan_wait_time_ms + |
286 _recorded_young_cset_choice_time_ms + |
286 _recorded_young_cset_choice_time_ms + |
287 _recorded_non_young_cset_choice_time_ms + |
287 _recorded_non_young_cset_choice_time_ms + |
288 _cur_fast_reclaim_humongous_register_time_ms; |
288 _cur_fast_reclaim_humongous_register_time_ms + |
|
289 _recorded_clear_claimed_marks_time_ms; |
289 |
290 |
290 info_time("Pre Evacuate Collection Set", sum_ms); |
291 info_time("Pre Evacuate Collection Set", sum_ms); |
291 |
292 |
292 if (_root_region_scan_wait_time_ms > 0.0) { |
293 if (_root_region_scan_wait_time_ms > 0.0) { |
293 debug_time("Root Region Scan Waiting", _root_region_scan_wait_time_ms); |
294 debug_time("Root Region Scan Waiting", _root_region_scan_wait_time_ms); |
298 debug_time("Humongous Register", _cur_fast_reclaim_humongous_register_time_ms); |
299 debug_time("Humongous Register", _cur_fast_reclaim_humongous_register_time_ms); |
299 trace_count("Humongous Total", _cur_fast_reclaim_humongous_total); |
300 trace_count("Humongous Total", _cur_fast_reclaim_humongous_total); |
300 trace_count("Humongous Candidate", _cur_fast_reclaim_humongous_candidates); |
301 trace_count("Humongous Candidate", _cur_fast_reclaim_humongous_candidates); |
301 } |
302 } |
302 |
303 |
|
304 if (_recorded_clear_claimed_marks_time_ms > 0.0) { |
|
305 debug_time("Clear Claimed Marks", _recorded_clear_claimed_marks_time_ms); |
|
306 } |
303 return sum_ms; |
307 return sum_ms; |
304 } |
308 } |
305 |
309 |
306 double G1GCPhaseTimes::print_evacuate_collection_set() const { |
310 double G1GCPhaseTimes::print_evacuate_collection_set() const { |
307 const double sum_ms = _cur_collection_par_time_ms; |
311 const double sum_ms = _cur_collection_par_time_ms; |
342 _cur_ref_enq_time_ms + |
346 _cur_ref_enq_time_ms + |
343 _cur_clear_ct_time_ms + |
347 _cur_clear_ct_time_ms + |
344 _recorded_merge_pss_time_ms + |
348 _recorded_merge_pss_time_ms + |
345 _cur_strong_code_root_purge_time_ms + |
349 _cur_strong_code_root_purge_time_ms + |
346 _recorded_redirty_logged_cards_time_ms + |
350 _recorded_redirty_logged_cards_time_ms + |
347 _recorded_clear_claimed_marks_time_ms + |
|
348 _recorded_total_free_cset_time_ms + |
351 _recorded_total_free_cset_time_ms + |
349 _cur_fast_reclaim_humongous_time_ms + |
352 _cur_fast_reclaim_humongous_time_ms + |
350 _cur_expand_heap_time_ms + |
353 _cur_expand_heap_time_ms + |
351 _cur_string_dedup_fixup_time_ms; |
354 _cur_string_dedup_fixup_time_ms; |
352 |
355 |
382 debug_time("Redirty Cards", _recorded_redirty_logged_cards_time_ms); |
385 debug_time("Redirty Cards", _recorded_redirty_logged_cards_time_ms); |
383 trace_phase(_gc_par_phases[RedirtyCards]); |
386 trace_phase(_gc_par_phases[RedirtyCards]); |
384 #if defined(COMPILER2) || INCLUDE_JVMCI |
387 #if defined(COMPILER2) || INCLUDE_JVMCI |
385 debug_time("DerivedPointerTable Update", _cur_derived_pointer_table_update_time_ms); |
388 debug_time("DerivedPointerTable Update", _cur_derived_pointer_table_update_time_ms); |
386 #endif |
389 #endif |
387 if (_recorded_clear_claimed_marks_time_ms > 0.0) { |
|
388 debug_time("Clear Claimed Marks", _recorded_clear_claimed_marks_time_ms); |
|
389 } |
|
390 |
390 |
391 debug_time("Free Collection Set", _recorded_total_free_cset_time_ms); |
391 debug_time("Free Collection Set", _recorded_total_free_cset_time_ms); |
392 trace_time("Free Collection Set Serial", _recorded_serial_free_cset_time_ms); |
392 trace_time("Free Collection Set Serial", _recorded_serial_free_cset_time_ms); |
393 trace_phase(_gc_par_phases[YoungFreeCSet]); |
393 trace_phase(_gc_par_phases[YoungFreeCSet]); |
394 trace_phase(_gc_par_phases[NonYoungFreeCSet]); |
394 trace_phase(_gc_par_phases[NonYoungFreeCSet]); |