3688 gclog_or_tty->print("--"); |
3688 gclog_or_tty->print("--"); |
3689 } |
3689 } |
3690 g1_policy()->print_heap_transition(); |
3690 g1_policy()->print_heap_transition(); |
3691 gclog_or_tty->print_cr(", %3.7f secs]", pause_time_sec); |
3691 gclog_or_tty->print_cr(", %3.7f secs]", pause_time_sec); |
3692 } |
3692 } |
|
3693 gclog_or_tty->flush(); |
3693 } |
3694 } |
3694 |
3695 |
3695 bool |
3696 bool |
3696 G1CollectedHeap::do_collection_pause_at_safepoint(double target_pause_time_ms) { |
3697 G1CollectedHeap::do_collection_pause_at_safepoint(double target_pause_time_ms) { |
3697 assert_at_safepoint(true /* should_be_vm_thread */); |
3698 assert_at_safepoint(true /* should_be_vm_thread */); |
4034 #ifdef TRACESPINNING |
4035 #ifdef TRACESPINNING |
4035 ParallelTaskTerminator::print_termination_counts(); |
4036 ParallelTaskTerminator::print_termination_counts(); |
4036 #endif |
4037 #endif |
4037 |
4038 |
4038 gc_epilogue(false); |
4039 gc_epilogue(false); |
4039 |
4040 } |
4040 log_gc_footer(os::elapsedTime() - pause_start_sec); |
4041 |
4041 } |
4042 // Print the remainder of the GC log output. |
|
4043 log_gc_footer(os::elapsedTime() - pause_start_sec); |
4042 |
4044 |
4043 // It is not yet to safe to tell the concurrent mark to |
4045 // It is not yet to safe to tell the concurrent mark to |
4044 // start as we have some optional output below. We don't want the |
4046 // start as we have some optional output below. We don't want the |
4045 // output from the concurrent mark thread interfering with this |
4047 // output from the concurrent mark thread interfering with this |
4046 // logging output either. |
4048 // logging output either. |