Reviewers: Hannes Payer,
Description:
Trace amount of external memory with --trace-gc-verbose.
[email protected]
Please review this at https://codereview.chromium.org/16953002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/heap.cc
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index
1df9fa1524c17d37dd6da8803ce9b55716e908d4..5710b634be1e73d8ae73aab191e8c5c04c7b06cb
100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -407,6 +407,8 @@ void Heap::PrintShortHeapStatistics() {
this->SizeOfObjects() / KB,
this->Available() / KB,
this->CommittedMemory() / KB);
+ PrintPID("External memory reported: %6" V8_PTR_PREFIX "d KB\n",
+ amount_of_external_allocated_memory_ / KB);
PrintPID("Total time spent in GC : %.1f ms\n", total_gc_time_ms_);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.