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

Side by Side Diff: src/flag-definitions.h

Issue 2888093003: [heap] Add GN flag for enabling concurrent marking. (Closed)
Patch Set: infer runtime flag from compile time flag Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | src/globals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 DEFINE_BOOL(trace_mutator_utilization, false, 662 DEFINE_BOOL(trace_mutator_utilization, false,
663 "print mutator utilization, allocation speed, gc speed") 663 "print mutator utilization, allocation speed, gc speed")
664 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again") 664 DEFINE_BOOL(flush_code, true, "flush code that we expect not to use again")
665 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") 665 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress")
666 DEFINE_BOOL(age_code, true, 666 DEFINE_BOOL(age_code, true,
667 "track un-executed functions to age code and flush only " 667 "track un-executed functions to age code and flush only "
668 "old code (required for code flushing)") 668 "old code (required for code flushing)")
669 DEFINE_BOOL(incremental_marking, true, "use incremental marking") 669 DEFINE_BOOL(incremental_marking, true, "use incremental marking")
670 DEFINE_BOOL(incremental_marking_wrappers, true, 670 DEFINE_BOOL(incremental_marking_wrappers, true,
671 "use incremental marking for marking wrappers") 671 "use incremental marking for marking wrappers")
672 DEFINE_BOOL(concurrent_marking, V8_CONCURRENT_MARKING, "use concurrent marking") 672 #ifdef V8_CONCURRENT_MARKING
673 #define V8_CONCURRENT_MARKING_BOOL true
674 #else
675 #define V8_CONCURRENT_MARKING_BOOL false
676 #endif
677 DEFINE_BOOL(concurrent_marking, V8_CONCURRENT_MARKING_BOOL,
678 "use concurrent marking")
673 DEFINE_BOOL(trace_concurrent_marking, false, "trace concurrent marking") 679 DEFINE_BOOL(trace_concurrent_marking, false, "trace concurrent marking")
674 DEFINE_BOOL(minor_mc_parallel_marking, true, 680 DEFINE_BOOL(minor_mc_parallel_marking, true,
675 "use parallel marking for the young generation") 681 "use parallel marking for the young generation")
676 DEFINE_BOOL(trace_minor_mc_parallel_marking, false, 682 DEFINE_BOOL(trace_minor_mc_parallel_marking, false,
677 "trace parallel marking for the young generation") 683 "trace parallel marking for the young generation")
678 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, 684 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32,
679 "keep finalizing incremental marking as long as we discover at " 685 "keep finalizing incremental marking as long as we discover at "
680 "least this many unmarked objects") 686 "least this many unmarked objects")
681 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, 687 DEFINE_INT(max_incremental_marking_finalization_rounds, 3,
682 "at most try this many times to finalize incremental marking") 688 "at most try this many times to finalize incremental marking")
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 #undef DEFINE_ALIAS_FLOAT 1365 #undef DEFINE_ALIAS_FLOAT
1360 #undef DEFINE_ALIAS_ARGS 1366 #undef DEFINE_ALIAS_ARGS
1361 1367
1362 #undef FLAG_MODE_DECLARE 1368 #undef FLAG_MODE_DECLARE
1363 #undef FLAG_MODE_DEFINE 1369 #undef FLAG_MODE_DEFINE
1364 #undef FLAG_MODE_DEFINE_DEFAULTS 1370 #undef FLAG_MODE_DEFINE_DEFAULTS
1365 #undef FLAG_MODE_META 1371 #undef FLAG_MODE_META
1366 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1372 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1367 1373
1368 #undef COMMA 1374 #undef COMMA
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698