Commit 0d7cc2cc authored by Ross McIlroy's avatar Ross McIlroy Committed by Commit Bot

[Lite] Enable bytecode flushing in lite mode.

Also declare an implication between --stress-flush-bytecode and --flush-bytecode

BUG=v8:8395

Change-Id: Ide60e17b283325c1142b07c4eb6f5c7af22d33e9
Reviewed-on: https://chromium-review.googlesource.com/c/1372070Reviewed-by: 's avatarMythri Alle <mythria@chromium.org>
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58179}
parent aeb93212
......@@ -275,6 +275,12 @@ HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES)
DEFINE_BOOL(icu_timezone_data, true, "get information about timezones from ICU")
#endif
#ifdef V8_LITE_MODE
#define V8_LITE_BOOL true
#else
#define V8_LITE_BOOL false
#endif
#ifdef V8_ENABLE_FUTURE
#define FUTURE_BOOL true
#else
......@@ -765,9 +771,10 @@ DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC")
DEFINE_BOOL(never_compact, false,
"Never perform compaction on full GC - testing only")
DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections")
DEFINE_BOOL(flush_bytecode, false,
DEFINE_BOOL(flush_bytecode, V8_LITE_BOOL,
"flush of bytecode when it has not been executed recently")
DEFINE_BOOL(stress_flush_bytecode, false, "stress bytecode flushing")
DEFINE_IMPLICATION(stress_flush_bytecode, flush_bytecode)
DEFINE_BOOL(use_marking_progress_bar, true,
"Use a progress bar to scan large objects in increments when "
"incremental marking is active.")
......@@ -1146,10 +1153,8 @@ DEFINE_SIZE_T(mock_arraybuffer_allocator_limit, 0,
#undef FLAG
#ifdef V8_LITE_MODE
#define FLAG FLAG_READONLY
#define V8_LITE_BOOL true
#else
#define FLAG FLAG_FULL
#define V8_LITE_BOOL false
#endif
// Enable recompilation of function with optimized code.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment