Index: src/heap/gc-tracer.cc |
diff --git a/src/heap/gc-tracer.cc b/src/heap/gc-tracer.cc |
index 732bfe0d57860076eaf49ceb14e9bc49b40ebd68..ffe48d5d5fee6173e3fc38aefb3872277090b36c 100644 |
--- a/src/heap/gc-tracer.cc |
+++ b/src/heap/gc-tracer.cc |
@@ -121,7 +121,7 @@ void GCTracer::Start(GarbageCollector collector, const char* gc_reason, |
if (collector == SCAVENGER) { |
current_ = Event(Event::SCAVENGER, gc_reason, collector_reason); |
} else if (collector == MARK_COMPACTOR) { |
- if (heap_->incremental_marking()->IsMarking()) { |
+ if (heap_->incremental_marking()->WasActivated()) { |
current_ = |
Event(Event::INCREMENTAL_MARK_COMPACTOR, gc_reason, collector_reason); |
} else { |