Index: src/heap/incremental-marking.cc |
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
index 0dcce20e7bd8cd1efa70a84ca2ab32ee9ec6888d..2e7128edd1eab859663eef6ae83dc83dd160f65d 100644 |
--- a/src/heap/incremental-marking.cc |
+++ b/src/heap/incremental-marking.cc |
@@ -801,7 +801,6 @@ void IncrementalMarking::FinalizeIncrementally() { |
double end = heap_->MonotonicallyIncreasingTimeInMs(); |
double delta = end - start; |
- heap_->tracer()->AddMarkingTime(delta); |
if (FLAG_trace_incremental_marking) { |
heap()->isolate()->PrintWithTimestamp( |
"[IncrementalMarking] Finalize incrementally round %d, " |
@@ -950,7 +949,7 @@ void IncrementalMarking::Hurry() { |
// because should_hurry_ will force a full GC. |
if (!heap_->mark_compact_collector()->marking_deque()->IsEmpty()) { |
double start = 0.0; |
- if (FLAG_trace_incremental_marking || FLAG_print_cumulative_gc_stat) { |
+ if (FLAG_trace_incremental_marking) { |
start = heap_->MonotonicallyIncreasingTimeInMs(); |
if (FLAG_trace_incremental_marking) { |
heap()->isolate()->PrintWithTimestamp("[IncrementalMarking] Hurry\n"); |
@@ -960,10 +959,9 @@ void IncrementalMarking::Hurry() { |
// was stopped. |
ProcessMarkingDeque(0, FORCE_COMPLETION); |
state_ = COMPLETE; |
- if (FLAG_trace_incremental_marking || FLAG_print_cumulative_gc_stat) { |
+ if (FLAG_trace_incremental_marking) { |
double end = heap_->MonotonicallyIncreasingTimeInMs(); |
double delta = end - start; |
- heap_->tracer()->AddMarkingTime(delta); |
if (FLAG_trace_incremental_marking) { |
heap()->isolate()->PrintWithTimestamp( |
"[IncrementalMarking] Complete (hurry), spent %d ms.\n", |