Bump limit in PushStackTraceAndDie

To increase the chances of minidumps containing enough useful information

R=yangguo@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#27915}
This commit is contained in:
jkummerow 2015-04-17 04:46:02 -07:00 committed by Commit bot
parent 1caa269cee
commit 30cc37e9ac

View File

@ -285,7 +285,7 @@ void Isolate::PushStackTraceAndDie(unsigned int magic,
Object* object, Object* object,
Map* map, Map* map,
unsigned int magic2) { unsigned int magic2) {
const int kMaxStackTraceSize = 8192; const int kMaxStackTraceSize = 32 * KB;
Handle<String> trace = StackTraceString(); Handle<String> trace = StackTraceString();
uint8_t buffer[kMaxStackTraceSize]; uint8_t buffer[kMaxStackTraceSize];
int length = Min(kMaxStackTraceSize - 1, trace->length()); int length = Min(kMaxStackTraceSize - 1, trace->length());