| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 104175ddacbd172724fc30bcb676be8375b2bd06..74625015a5d28f3acf765fce5b488a3f9c4f8d55 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -5473,7 +5473,7 @@ bool Heap::SetUp() {
|
| mark_compact_collector_ = new MarkCompactCollector(this);
|
| gc_idle_time_handler_ = new GCIdleTimeHandler();
|
| memory_reducer_ = new MemoryReducer(this);
|
| - if (FLAG_track_gc_object_stats) {
|
| + if (V8_UNLIKELY(FLAG_gc_stats)) {
|
| live_object_stats_ = new ObjectStats(this);
|
| dead_object_stats_ = new ObjectStats(this);
|
| }
|
|
|