Skip to content

Commit 0a480c3

Browse files
schuayCommit Bot
authored andcommitted
Remove unused flags from flag-definitions.h
--collect-heap-spill-statistics --concurrent-array-buffer-freeing --concurrent-store-buffer --es-staging --fast-math --gc-experiment-background-schedule --gc-experiment-reduce-concurrent-marking-tasks --minor-gc-parallel-marking --sodium Change-Id: I2cb2626473baef4b800b86e8acd5012b5b651758 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2653228 Reviewed-by: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Shu-yu Guo <syg@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/master@{#72389}
1 parent 8dbd200 commit 0a480c3

1 file changed

Lines changed: 0 additions & 30 deletions

File tree

src/flags/flag-definitions.h

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,8 @@ DEFINE_BOOL(allow_overwriting_for_next_flag, false,
237237
// Flags for language modes and experimental language features.
238238
DEFINE_BOOL(use_strict, false, "enforce strict mode")
239239

240-
DEFINE_BOOL(es_staging, false,
241-
"enable test-worthy harmony features (for internal use only)")
242240
DEFINE_BOOL(harmony, false, "enable all completed harmony features")
243241
DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features")
244-
DEFINE_IMPLICATION(es_staging, harmony)
245242
// Enabling FinalizationRegistry#cleanupSome also enables weak refs
246243
DEFINE_IMPLICATION(harmony_weak_refs_with_cleanup_some, harmony_weak_refs)
247244

@@ -548,7 +545,6 @@ DEFINE_STRING(trace_ignition_dispatches_output_file, nullptr,
548545
"the file to which the bytecode handler dispatch table is "
549546
"written (by default, the table is not written to a file)")
550547

551-
DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions")
552548
DEFINE_BOOL(trace_track_allocation_sites, false,
553549
"trace the tracking of allocation sites")
554550
DEFINE_BOOL(trace_migration, false, "trace object migration")
@@ -1052,8 +1048,6 @@ DEFINE_INT(ephemeron_fixpoint_iterations, 10,
10521048
"number of fixpoint iterations it takes to switch to linear "
10531049
"ephemeron algorithm")
10541050
DEFINE_BOOL(trace_concurrent_marking, false, "trace concurrent marking")
1055-
DEFINE_BOOL(concurrent_store_buffer, true,
1056-
"use concurrent store buffer processing")
10571051
DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping")
10581052
DEFINE_BOOL(parallel_compaction, true, "use parallel compaction")
10591053
DEFINE_BOOL(parallel_pointer_update, true,
@@ -1084,8 +1078,6 @@ DEFINE_GENERIC_IMPLICATION(
10841078
DEFINE_BOOL(track_retaining_path, false,
10851079
"enable support for tracking retaining path")
10861080
DEFINE_DEBUG_BOOL(trace_backing_store, false, "trace backing store events")
1087-
DEFINE_BOOL(concurrent_array_buffer_freeing, true,
1088-
"free array buffer allocations on a background thread")
10891081
DEFINE_INT(gc_stats, 0, "Used by tracing internally to enable gc statistics")
10901082
DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats)
10911083
DEFINE_GENERIC_IMPLICATION(
@@ -1160,12 +1152,8 @@ DEFINE_BOOL(
11601152
"reclaim otherwise unreachable unmodified wrapper objects when possible")
11611153

11621154
// These flags will be removed after experiments. Do not rely on them.
1163-
DEFINE_BOOL(gc_experiment_background_schedule, false,
1164-
"new background GC schedule heuristics")
11651155
DEFINE_BOOL(gc_experiment_less_compaction, false,
11661156
"less compaction in non-memory reducing mode")
1167-
DEFINE_BOOL(gc_experiment_reduce_concurrent_marking_tasks, false,
1168-
"reduce the number of concurrent marking tasks")
11691157

11701158
DEFINE_BOOL(disable_abortjs, false, "disables AbortJS runtime function")
11711159

@@ -1589,8 +1577,6 @@ DEFINE_NEG_NEG_IMPLICATION(text_is_readable, partial_constant_pool)
15891577
// Minor mark compact collector flags.
15901578
//
15911579
#ifdef ENABLE_MINOR_MC
1592-
DEFINE_BOOL(minor_mc_parallel_marking, true,
1593-
"use parallel marking for the young generation")
15941580
DEFINE_BOOL(trace_minor_mc_parallel_marking, false,
15951581
"trace parallel marking for the young generation")
15961582
DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs")
@@ -1701,9 +1687,6 @@ DEFINE_BOOL(trace_normalization, false,
17011687
DEFINE_BOOL(trace_lazy, false, "trace lazy compilation")
17021688

17031689
// spaces.cc
1704-
DEFINE_BOOL(collect_heap_spill_statistics, false,
1705-
"report heap spill statistics along with heap_stats "
1706-
"(requires heap_stats)")
17071690
DEFINE_BOOL(trace_isolates, false, "trace isolate state changes")
17081691

17091692
// Regexp
@@ -1885,21 +1868,12 @@ DEFINE_BOOL(print_regexp_bytecode, false, "print generated regexp bytecode")
18851868
DEFINE_BOOL(print_builtin_size, false, "print code size for builtins")
18861869

18871870
#ifdef ENABLE_DISASSEMBLER
1888-
DEFINE_BOOL(sodium, false,
1889-
"print generated code output suitable for use with "
1890-
"the Sodium code viewer")
1891-
1892-
DEFINE_IMPLICATION(sodium, print_code)
1893-
DEFINE_IMPLICATION(sodium, print_opt_code)
1894-
DEFINE_IMPLICATION(sodium, code_comments)
1895-
18961871
DEFINE_BOOL(print_all_code, false, "enable all flags related to printing code")
18971872
DEFINE_IMPLICATION(print_all_code, print_code)
18981873
DEFINE_IMPLICATION(print_all_code, print_opt_code)
18991874
DEFINE_IMPLICATION(print_all_code, print_code_verbose)
19001875
DEFINE_IMPLICATION(print_all_code, print_builtin_code)
19011876
DEFINE_IMPLICATION(print_all_code, print_regexp_code)
1902-
DEFINE_IMPLICATION(print_all_code, code_comments)
19031877
#endif
19041878

19051879
#undef FLAG
@@ -1942,10 +1916,6 @@ DEFINE_NEG_IMPLICATION(single_threaded_gc, parallel_compaction)
19421916
DEFINE_NEG_IMPLICATION(single_threaded_gc, parallel_marking)
19431917
DEFINE_NEG_IMPLICATION(single_threaded_gc, parallel_pointer_update)
19441918
DEFINE_NEG_IMPLICATION(single_threaded_gc, parallel_scavenge)
1945-
DEFINE_NEG_IMPLICATION(single_threaded_gc, concurrent_store_buffer)
1946-
#ifdef ENABLE_MINOR_MC
1947-
DEFINE_NEG_IMPLICATION(single_threaded_gc, minor_mc_parallel_marking)
1948-
#endif // ENABLE_MINOR_MC
19491919
DEFINE_NEG_IMPLICATION(single_threaded_gc, concurrent_array_buffer_sweeping)
19501920
DEFINE_NEG_IMPLICATION(single_threaded_gc, stress_concurrent_allocation)
19511921

0 commit comments

Comments
 (0)