Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: src/heap/heap.h

Issue 1149623010: Print and save JS stacktrace on OOM crash. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 8574d55993d9dc523dc233170b3c667ebefe7c26..e4a656333fa169a78b9276fa8dad00631cae49f4 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1157,6 +1157,7 @@ class Heap {
256 * kPointerMultiplier;
static const int kTraceRingBufferSize = 512;
+ static const int kStacktraceBufferSize = 512;
// Calculates the allocation limit based on a given growing factor and a
// given old generation size.
@@ -2333,7 +2334,8 @@ class HeapStats {
int* size_per_type; // 18
int* os_error; // 19
char* last_few_messages; // 20
- int* end_marker; // 21
+ char* js_stacktrace; // 21
+ int* end_marker; // 22
};
« no previous file with comments | « src/api.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698