Reviewers: Søren Gjesse, Description: Add a bit more room for type string when reporting heap stats to make sure PRIVATE_EXTERNAL_ASCII_STRING_TYPE fits.
Please review this at http://codereview.chromium.org/726002 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/spaces.cc Index: src/spaces.cc =================================================================== --- src/spaces.cc (revision 4066) +++ src/spaces.cc (working copy) @@ -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
