equal
deleted
inserted
replaced
646 rp->setup_policy(clear_all_soft_refs); |
646 rp->setup_policy(clear_all_soft_refs); |
647 const ReferenceProcessorStats& stats = |
647 const ReferenceProcessorStats& stats = |
648 rp->process_discovered_references(&is_alive, &keep_alive, &evacuate_followers, |
648 rp->process_discovered_references(&is_alive, &keep_alive, &evacuate_followers, |
649 NULL, _gc_timer); |
649 NULL, _gc_timer); |
650 gc_tracer.report_gc_reference_stats(stats); |
650 gc_tracer.report_gc_reference_stats(stats); |
|
651 gc_tracer.report_tenuring_threshold(tenuring_threshold()); |
651 |
652 |
652 if (!_promotion_failed) { |
653 if (!_promotion_failed) { |
653 // Swap the survivor spaces. |
654 // Swap the survivor spaces. |
654 eden()->clear(SpaceDecorator::Mangle); |
655 eden()->clear(SpaceDecorator::Mangle); |
655 from()->clear(SpaceDecorator::Mangle); |
656 from()->clear(SpaceDecorator::Mangle); |
710 // does not guarantee monotonicity. |
711 // does not guarantee monotonicity. |
711 jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; |
712 jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; |
712 update_time_of_last_gc(now); |
713 update_time_of_last_gc(now); |
713 |
714 |
714 gch->trace_heap_after_gc(&gc_tracer); |
715 gch->trace_heap_after_gc(&gc_tracer); |
715 gc_tracer.report_tenuring_threshold(tenuring_threshold()); |
|
716 |
716 |
717 _gc_timer->register_gc_end(); |
717 _gc_timer->register_gc_end(); |
718 |
718 |
719 gc_tracer.report_gc_end(_gc_timer->gc_end(), _gc_timer->time_partitions()); |
719 gc_tracer.report_gc_end(_gc_timer->gc_end(), _gc_timer->time_partitions()); |
720 } |
720 } |