Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index ba8de1cc9c70aee427f8566dfd884c3eae736619..78df695e728ac2e7834b9e7cd158513177b23186 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7173,6 +7173,7 @@ void Isolate::GetHeapStatistics(HeapStatistics* heap_statistics) { |
heap_statistics->total_available_size_ = heap->Available(); |
heap_statistics->used_heap_size_ = heap->SizeOfObjects(); |
heap_statistics->heap_size_limit_ = heap->MaxReserved(); |
+ heap_statistics->does_zap_garbage_ = heap->ShouldZapGarbage(); |
} |