Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 137065625e66efb40ac23f887934d1239f5f842a..94fc931b9b4cfe31f8c794337b6529ce0f4a02d4 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -2385,6 +2385,9 @@ void MarkCompactCollector::AfterMarking() { |
} |
if (FLAG_track_gc_object_stats) { |
+ if (FLAG_trace_gc_object_stats) { |
+ heap()->TraceObjectStats(); |
+ } |
heap()->CheckpointObjectStats(); |
} |
} |