зеркало из https://github.com/mozilla/gecko-dev.git
Bug 891694 - Increase the maximum amount dumped per line in a GC log from 1kb to 32kb. r=njn
This commit is contained in:
Родитель
93a9c67429
Коммит
bfe923e1a5
|
@ -723,7 +723,7 @@ DumpHeapVisitCell(JSRuntime *rt, void *data, void *thing,
|
|||
JSGCTraceKind traceKind, size_t thingSize)
|
||||
{
|
||||
JSDumpHeapTracer *dtrc = static_cast<JSDumpHeapTracer *>(data);
|
||||
char cellDesc[1024];
|
||||
char cellDesc[1024 * 32];
|
||||
JS_GetTraceThingInfo(cellDesc, sizeof(cellDesc), dtrc, thing, traceKind, true);
|
||||
fprintf(dtrc->output, "%p %c %s\n", thing, MarkDescriptor(thing), cellDesc);
|
||||
JS_TraceChildren(dtrc, thing, traceKind);
|
||||
|
|
Загрузка…
Ссылка в новой задаче