Index: src/global-handles.cc |
diff --git a/src/global-handles.cc b/src/global-handles.cc |
index a5b4efcdaf8826266371a8fa2bc303ecfe927b49..823665cb46c23fe1ffcdf3649c4fb65baaedb6e3 100644 |
--- a/src/global-handles.cc |
+++ b/src/global-handles.cc |
@@ -1224,7 +1224,8 @@ void GlobalHandles::PrintStats() { |
} |
PrintF("Global Handle Statistics:\n"); |
- PrintF(" allocated memory = %" V8_PTR_PREFIX "dB\n", sizeof(Node) * total); |
+ PrintF(" allocated memory = %" V8_SIZET_PREFIX V8_PTR_PREFIX "dB\n", |
+ total * sizeof(Node)); |
PrintF(" # weak = %d\n", weak); |
PrintF(" # pending = %d\n", pending); |
PrintF(" # near_death = %d\n", near_death); |