Index: src/extensions/statistics-extension.cc |
diff --git a/src/extensions/statistics-extension.cc b/src/extensions/statistics-extension.cc |
index 76dcd433afbd54338a223688086e0f4c8e8d7df1..e6649a603a9f2b88fb46e5441f09a925db8ac2ea 100644 |
--- a/src/extensions/statistics-extension.cc |
+++ b/src/extensions/statistics-extension.cc |
@@ -116,7 +116,7 @@ void StatisticsExtension::GetCounters( |
}; |
const StatisticNumber numbers[] = { |
- {isolate->memory_allocator()->Size(), "total_committed_bytes"}, |
+ {heap->memory_allocator()->Size(), "total_committed_bytes"}, |
{heap->new_space()->Size(), "new_space_live_bytes"}, |
{heap->new_space()->Available(), "new_space_available_bytes"}, |
{heap->new_space()->CommittedMemory(), "new_space_commited_bytes"}, |