Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 6bea41c39ae29728a0c7d3fd1fe8c6968c0c1277..926036af2280a5cede3f2aeb6bd8d3c9619715d4 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -927,7 +927,7 @@ bool Heap::CollectGarbage(GarbageCollector collector, const char* gc_reason, |
} |
bool next_gc_likely_to_collect_more = false; |
- intptr_t committed_memory_before; |
+ intptr_t committed_memory_before = 0; |
if (collector == MARK_COMPACTOR) { |
committed_memory_before = CommittedOldGenerationMemory(); |