From c909e5b75ff5335b6783c028a1e3875f5a3342e2 Mon Sep 17 00:00:00 2001 From: "kasperl@chromium.org" Date: Tue, 9 Mar 2010 14:43:01 +0000 Subject: [PATCH] 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 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4067 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/spaces.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/spaces.cc b/src/spaces.cc index 6181dabc29..08399ee8dd 100644 --- a/src/spaces.cc +++ b/src/spaces.cc @@ -1414,7 +1414,7 @@ static void ReportHistogram(bool print_spill) { 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 @@ static void ReportHistogram(bool print_spill) { 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 @@ void NewSpace::ReportStatistics() { 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());