Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index e641991cc574e4bae49535e929991adda6f51a7d..cc87e3ad9a77981ef3d429e90ba3f6f119d2bad7 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -5571,7 +5571,7 @@ void Heap::ReportHeapStatistics(const char* title) { |
PrintF("old_gen_limit_factor_ %d\n", old_gen_limit_factor_); |
PrintF("\n"); |
- PrintF("Number of handles : %d\n", HandleScope::NumberOfHandles()); |
+ PrintF("Number of handles : %d\n", HandleScope::NumberOfHandles(isolate_)); |
isolate_->global_handles()->PrintStats(); |
PrintF("\n"); |