hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp
changeset 35939 05df7e64ecfc
parent 35862 411842d0c882
child 36090 cffc1dd98258
equal deleted inserted replaced
35938:a734965f7634 35939:05df7e64ecfc
  1515   gc_timer->register_gc_start();
  1515   gc_timer->register_gc_start();
  1516 
  1516 
  1517   SerialOldTracer* gc_tracer = GenMarkSweep::gc_tracer();
  1517   SerialOldTracer* gc_tracer = GenMarkSweep::gc_tracer();
  1518   gc_tracer->report_gc_start(gch->gc_cause(), gc_timer->gc_start());
  1518   gc_tracer->report_gc_start(gch->gc_cause(), gc_timer->gc_start());
  1519 
  1519 
       
  1520   gch->pre_full_gc_dump(gc_timer);
       
  1521 
  1520   GCTraceTime(Trace, gc) t("CMS:MSC");
  1522   GCTraceTime(Trace, gc) t("CMS:MSC");
  1521 
  1523 
  1522   // Temporarily widen the span of the weak reference processing to
  1524   // Temporarily widen the span of the weak reference processing to
  1523   // the entire heap.
  1525   // the entire heap.
  1524   MemRegion new_span(GenCollectedHeap::heap()->reserved_region());
  1526   MemRegion new_span(GenCollectedHeap::heap()->reserved_region());
  1590   // Adjust the per-size allocation stats for the next epoch.
  1592   // Adjust the per-size allocation stats for the next epoch.
  1591   _cmsGen->cmsSpace()->endSweepFLCensus(sweep_count() /* fake */);
  1593   _cmsGen->cmsSpace()->endSweepFLCensus(sweep_count() /* fake */);
  1592   // Restart the "inter sweep timer" for the next epoch.
  1594   // Restart the "inter sweep timer" for the next epoch.
  1593   _inter_sweep_timer.reset();
  1595   _inter_sweep_timer.reset();
  1594   _inter_sweep_timer.start();
  1596   _inter_sweep_timer.start();
       
  1597 
       
  1598   gch->post_full_gc_dump(gc_timer);
  1595 
  1599 
  1596   gc_timer->register_gc_end();
  1600   gc_timer->register_gc_end();
  1597 
  1601 
  1598   gc_tracer->report_gc_end(gc_timer->gc_end(), gc_timer->time_partitions());
  1602   gc_tracer->report_gc_end(gc_timer->gc_end(), gc_timer->time_partitions());
  1599 
  1603