OLD | NEW |
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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 DEFINE_BOOL(flush_code, true, | 606 DEFINE_BOOL(flush_code, true, |
607 "flush code that we expect not to use again (during full gc)") | 607 "flush code that we expect not to use again (during full gc)") |
608 DEFINE_BOOL(flush_code_incrementally, true, | 608 DEFINE_BOOL(flush_code_incrementally, true, |
609 "flush code that we expect not to use again (incrementally)") | 609 "flush code that we expect not to use again (incrementally)") |
610 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 610 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
611 DEFINE_BOOL(age_code, true, | 611 DEFINE_BOOL(age_code, true, |
612 "track un-executed functions to age code and flush only " | 612 "track un-executed functions to age code and flush only " |
613 "old code (required for code flushing)") | 613 "old code (required for code flushing)") |
614 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 614 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
615 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") | 615 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") |
| 616 DEFINE_BOOL(overapproximate_weak_closure, false, |
| 617 "overapproximate weak closer to reduce atomic pause time") |
616 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 618 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
617 DEFINE_BOOL(trace_incremental_marking, false, | 619 DEFINE_BOOL(trace_incremental_marking, false, |
618 "trace progress of the incremental marking") | 620 "trace progress of the incremental marking") |
619 DEFINE_BOOL(track_gc_object_stats, false, | 621 DEFINE_BOOL(track_gc_object_stats, false, |
620 "track object counts and memory usage") | 622 "track object counts and memory usage") |
621 DEFINE_BOOL(track_detached_contexts, false, | 623 DEFINE_BOOL(track_detached_contexts, false, |
622 "track native contexts that are expected to be garbage collected") | 624 "track native contexts that are expected to be garbage collected") |
623 #ifdef VERIFY_HEAP | 625 #ifdef VERIFY_HEAP |
624 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 626 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
625 #endif | 627 #endif |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 #undef DEFINE_ALIAS_FLOAT | 1021 #undef DEFINE_ALIAS_FLOAT |
1020 #undef DEFINE_ALIAS_ARGS | 1022 #undef DEFINE_ALIAS_ARGS |
1021 | 1023 |
1022 #undef FLAG_MODE_DECLARE | 1024 #undef FLAG_MODE_DECLARE |
1023 #undef FLAG_MODE_DEFINE | 1025 #undef FLAG_MODE_DEFINE |
1024 #undef FLAG_MODE_DEFINE_DEFAULTS | 1026 #undef FLAG_MODE_DEFINE_DEFAULTS |
1025 #undef FLAG_MODE_META | 1027 #undef FLAG_MODE_META |
1026 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1028 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1027 | 1029 |
1028 #undef COMMA | 1030 #undef COMMA |
OLD | NEW |