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 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 DEFINE_BOOL(flush_code, true, | 600 DEFINE_BOOL(flush_code, true, |
601 "flush code that we expect not to use again (during full gc)") | 601 "flush code that we expect not to use again (during full gc)") |
602 DEFINE_BOOL(flush_code_incrementally, true, | 602 DEFINE_BOOL(flush_code_incrementally, true, |
603 "flush code that we expect not to use again (incrementally)") | 603 "flush code that we expect not to use again (incrementally)") |
604 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") | 604 DEFINE_BOOL(trace_code_flushing, false, "trace code flushing progress") |
605 DEFINE_BOOL(age_code, true, | 605 DEFINE_BOOL(age_code, true, |
606 "track un-executed functions to age code and flush only " | 606 "track un-executed functions to age code and flush only " |
607 "old code (required for code flushing)") | 607 "old code (required for code flushing)") |
608 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 608 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
609 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") | 609 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") |
| 610 DEFINE_BOOL(overapproximate_weak_closure, false, |
| 611 "overapproximate weak closer to reduce atomic pause time") |
610 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 612 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
611 DEFINE_BOOL(trace_incremental_marking, false, | 613 DEFINE_BOOL(trace_incremental_marking, false, |
612 "trace progress of the incremental marking") | 614 "trace progress of the incremental marking") |
613 DEFINE_BOOL(track_gc_object_stats, false, | 615 DEFINE_BOOL(track_gc_object_stats, false, |
614 "track object counts and memory usage") | 616 "track object counts and memory usage") |
615 #ifdef VERIFY_HEAP | 617 #ifdef VERIFY_HEAP |
616 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 618 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
617 #endif | 619 #endif |
618 | 620 |
619 | 621 |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1011 #undef DEFINE_ALIAS_FLOAT | 1013 #undef DEFINE_ALIAS_FLOAT |
1012 #undef DEFINE_ALIAS_ARGS | 1014 #undef DEFINE_ALIAS_ARGS |
1013 | 1015 |
1014 #undef FLAG_MODE_DECLARE | 1016 #undef FLAG_MODE_DECLARE |
1015 #undef FLAG_MODE_DEFINE | 1017 #undef FLAG_MODE_DEFINE |
1016 #undef FLAG_MODE_DEFINE_DEFAULTS | 1018 #undef FLAG_MODE_DEFINE_DEFAULTS |
1017 #undef FLAG_MODE_META | 1019 #undef FLAG_MODE_META |
1018 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1020 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1019 | 1021 |
1020 #undef COMMA | 1022 #undef COMMA |
OLD | NEW |