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

Unified Diff: src/d8.h

Issue 2697723004: Make regress-crbug-514081 less flaky by having max serialization size (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | src/d8.cc » ('j') | src/d8.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.h
diff --git a/src/d8.h b/src/d8.h
index bedf43ef6671fadc02dec46fd5cce19f549528f6..2b846887c2df687f71be9d07f84e3f089c2a391e 100644
--- a/src/d8.h
+++ b/src/d8.h
@@ -304,7 +304,8 @@ class ShellOptions {
natives_blob(NULL),
snapshot_blob(NULL),
trace_enabled(false),
- trace_config(NULL) {}
+ trace_config(NULL),
+ max_serializer_memory_usage(0) {}
~ShellOptions() {
delete[] isolate_sources;
@@ -335,6 +336,7 @@ class ShellOptions {
const char* snapshot_blob;
bool trace_enabled;
const char* trace_config;
+ size_t max_serializer_memory_usage;
};
class Shell : public i::AllStatic {
« no previous file with comments | « no previous file | src/d8.cc » ('j') | src/d8.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698