Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/defNewGeneration.cpp @ 14442:1174c8abbdb6
Merge
author | kvn |
---|---|
date | Thu, 05 Dec 2013 15:13:12 -0800 |
parents | 86e6d691f2e1 |
children | dd1b266713ea cfd4aac53239 |
comparison
equal
deleted
inserted
replaced
14441:e7cbc95179c4 | 14442:1174c8abbdb6 |
---|---|
560 bool is_tlab) { | 560 bool is_tlab) { |
561 assert(full || size > 0, "otherwise we don't want to collect"); | 561 assert(full || size > 0, "otherwise we don't want to collect"); |
562 | 562 |
563 GenCollectedHeap* gch = GenCollectedHeap::heap(); | 563 GenCollectedHeap* gch = GenCollectedHeap::heap(); |
564 | 564 |
565 _gc_timer->register_gc_start(os::elapsed_counter()); | 565 _gc_timer->register_gc_start(); |
566 DefNewTracer gc_tracer; | 566 DefNewTracer gc_tracer; |
567 gc_tracer.report_gc_start(gch->gc_cause(), _gc_timer->gc_start()); | 567 gc_tracer.report_gc_start(gch->gc_cause(), _gc_timer->gc_start()); |
568 | 568 |
569 _next_gen = gch->next_gen(this); | 569 _next_gen = gch->next_gen(this); |
570 | 570 |
707 update_time_of_last_gc(now); | 707 update_time_of_last_gc(now); |
708 | 708 |
709 gch->trace_heap_after_gc(&gc_tracer); | 709 gch->trace_heap_after_gc(&gc_tracer); |
710 gc_tracer.report_tenuring_threshold(tenuring_threshold()); | 710 gc_tracer.report_tenuring_threshold(tenuring_threshold()); |
711 | 711 |
712 _gc_timer->register_gc_end(os::elapsed_counter()); | 712 _gc_timer->register_gc_end(); |
713 | 713 |
714 gc_tracer.report_gc_end(_gc_timer->gc_end(), _gc_timer->time_partitions()); | 714 gc_tracer.report_gc_end(_gc_timer->gc_end(), _gc_timer->time_partitions()); |
715 } | 715 } |
716 | 716 |
717 class RemoveForwardPointerClosure: public ObjectClosure { | 717 class RemoveForwardPointerClosure: public ObjectClosure { |