Isolate::PrintStack: restore default verbose object printing

Review URL: https://codereview.chromium.org/1311123005

Cr-Commit-Position: refs/heads/master@{#30585}
This commit is contained in:
jkummerow 2015-09-04 04:30:00 -07:00 committed by Commit bot
parent 2cf9053a17
commit 842928afda
2 changed files with 2 additions and 2 deletions

View File

@ -5388,7 +5388,7 @@ void Heap::RecordStats(HeapStats* stats, bool take_snapshot) {
GetFromRingBuffer(stats->last_few_messages);
if (stats->js_stacktrace != NULL) {
FixedStringAllocator fixed(stats->js_stacktrace, kStacktraceBufferSize - 1);
StringStream accumulator(&fixed);
StringStream accumulator(&fixed, StringStream::kPrintObjectConcise);
isolate()->PrintStack(&accumulator, Isolate::kPrintStackVerbose);
}
}

View File

@ -100,7 +100,7 @@ class StringStream final {
public:
enum ObjectPrintMode { kPrintObjectConcise, kPrintObjectVerbose };
StringStream(StringAllocator* allocator,
ObjectPrintMode object_print_mode = kPrintObjectConcise)
ObjectPrintMode object_print_mode = kPrintObjectVerbose)
: allocator_(allocator),
object_print_mode_(object_print_mode),
capacity_(kInitialCapacity),