Index: src/heap/gc-tracer.cc |
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc |
index e3828e58efdf6be4404ecd4ce84910d568be3870..4d02fdeff57071ef61ec73ca3feb90653ca27eb2 100644 |
--- a/src/heap/gc-tracer.cc |
+++ b/src/heap/gc-tracer.cc |
@@ -24,13 +24,6 @@ |
GCTracer::Scope::Scope(GCTracer* tracer, ScopeId scope) |
: tracer_(tracer), scope_(scope) { |
start_time_ = tracer_->heap_->MonotonicallyIncreasingTimeInMs(); |
- // TODO(cbruni): remove once we fully moved to a trace-based system. |
- if (FLAG_runtime_call_stats) { |
- RuntimeCallStats* stats = |
- tracer_->heap_->isolate()->counters()->runtime_call_stats(); |
- timer_.Initialize(&stats->GC, stats->current_timer()); |
- stats->Enter(&timer_); |
- } |
} |
@@ -38,10 +31,6 @@ |
DCHECK(scope_ < NUMBER_OF_SCOPES); // scope_ is unsigned. |
tracer_->current_.scopes[scope_] += |
tracer_->heap_->MonotonicallyIncreasingTimeInMs() - start_time_; |
- // TODO(cbruni): remove once we fully moved to a trace-based system. |
- if (FLAG_runtime_call_stats) { |
- tracer_->heap_->isolate()->counters()->runtime_call_stats()->Leave(&timer_); |
- } |
} |
@@ -193,13 +182,6 @@ |
start_time, committed_memory); |
heap_->isolate()->counters()->aggregated_memory_heap_used()->AddSample( |
start_time, used_memory); |
- // TODO(cbruni): remove once we fully moved to a trace-based system. |
- if (FLAG_runtime_call_stats) { |
- RuntimeCallStats* stats = |
- heap_->isolate()->counters()->runtime_call_stats(); |
- timer_.Initialize(&stats->GC, stats->current_timer()); |
- stats->Enter(&timer_); |
- } |
} |
@@ -299,10 +281,6 @@ |
longest_incremental_marking_finalization_step_ = 0.0; |
cumulative_incremental_marking_finalization_steps_ = 0; |
cumulative_incremental_marking_finalization_duration_ = 0.0; |
- // TODO(cbruni): remove once we fully moved to a trace-based system. |
- if (FLAG_runtime_call_stats) { |
- heap_->isolate()->counters()->runtime_call_stats()->Leave(&timer_); |
- } |
} |