| Index: src/heap.cc
|
| ===================================================================
|
| --- src/heap.cc (revision 1503)
|
| +++ src/heap.cc (working copy)
|
| @@ -300,7 +300,7 @@
|
| // contexts are disposed and leave it to the embedder to make
|
| // informed decisions about when to force a collection.
|
| if (!FLAG_expose_gc && context_disposed_pending_) {
|
| - StatsRateScope scope(&Counters::gc_context);
|
| + HistogramTimerScope scope(&Counters::gc_context);
|
| CollectAllGarbage();
|
| }
|
| context_disposed_pending_ = false;
|
| @@ -335,7 +335,7 @@
|
| // Tell the tracer which collector we've selected.
|
| tracer.set_collector(collector);
|
|
|
| - StatsRate* rate = (collector == SCAVENGER)
|
| + HistogramTimer* rate = (collector == SCAVENGER)
|
| ? &Counters::gc_scavenger
|
| : &Counters::gc_compactor;
|
| rate->Start();
|
|
|