Revision: 4067
Author: [email protected]
Date: Tue Mar 9 06:43:01 2010
Log: Add a bit more room for type string when reporting heap
stats to make sure PRIVATE_EXTERNAL_ASCII_STRING_TYPE fits.
Review URL: http://codereview.chromium.org/726002
http://code.google.com/p/v8/source/detail?r=4067
Modified:
/branches/bleeding_edge/src/spaces.cc
=======================================
--- /branches/bleeding_edge/src/spaces.cc Mon Mar 1 08:24:05 2010
+++ /branches/bleeding_edge/src/spaces.cc Tue Mar 9 06:43:01 2010
@@ -1414,7 +1414,7 @@
PrintF("\n Object Histogram:\n");
for (int i = 0; i <= LAST_TYPE; i++) {
if (heap_histograms[i].number() > 0) {
- PrintF(" %-33s%10d (%10d bytes)\n",
+ PrintF(" %-34s%10d (%10d bytes)\n",
heap_histograms[i].name(),
heap_histograms[i].number(),
heap_histograms[i].bytes());
@@ -1431,7 +1431,7 @@
STRING_TYPE_LIST(INCREMENT)
#undef INCREMENT
if (string_number > 0) {
- PrintF(" %-33s%10d (%10d bytes)\n\n", "STRING_TYPE", string_number,
+ PrintF(" %-34s%10d (%10d bytes)\n\n", "STRING_TYPE", string_number,
string_bytes);
}
@@ -1500,7 +1500,7 @@
PrintF("\n Object Histogram:\n");
for (int i = 0; i <= LAST_TYPE; i++) {
if (allocated_histogram_[i].number() > 0) {
- PrintF(" %-33s%10d (%10d bytes)\n",
+ PrintF(" %-34s%10d (%10d bytes)\n",
allocated_histogram_[i].name(),
allocated_histogram_[i].number(),
allocated_histogram_[i].bytes());
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev