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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 DEFINE_VALUE_IMPLICATION(track_gc_object_stats, gc_stats, 1) | 693 DEFINE_VALUE_IMPLICATION(track_gc_object_stats, gc_stats, 1) |
694 DEFINE_VALUE_IMPLICATION(trace_gc_object_stats, gc_stats, 1) | 694 DEFINE_VALUE_IMPLICATION(trace_gc_object_stats, gc_stats, 1) |
695 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking) | 695 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking) |
696 DEFINE_BOOL(track_detached_contexts, true, | 696 DEFINE_BOOL(track_detached_contexts, true, |
697 "track native contexts that are expected to be garbage collected") | 697 "track native contexts that are expected to be garbage collected") |
698 DEFINE_BOOL(trace_detached_contexts, false, | 698 DEFINE_BOOL(trace_detached_contexts, false, |
699 "trace native contexts that are expected to be garbage collected") | 699 "trace native contexts that are expected to be garbage collected") |
700 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) | 700 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) |
701 #ifdef VERIFY_HEAP | 701 #ifdef VERIFY_HEAP |
702 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 702 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
| 703 DEFINE_BOOL(verify_heap_skip_remembered_set, false, |
| 704 "disable remembered set verification") |
703 #endif | 705 #endif |
704 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") | 706 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") |
705 DEFINE_BOOL(memory_reducer, true, "use memory reducer") | 707 DEFINE_BOOL(memory_reducer, true, "use memory reducer") |
706 DEFINE_INT(heap_growing_percent, 0, | 708 DEFINE_INT(heap_growing_percent, 0, |
707 "specifies heap growing factor as (1 + heap_growing_percent/100)") | 709 "specifies heap growing factor as (1 + heap_growing_percent/100)") |
708 DEFINE_INT(v8_os_page_size, 0, "override OS page size (in KBytes)") | 710 DEFINE_INT(v8_os_page_size, 0, "override OS page size (in KBytes)") |
709 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") | 711 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") |
710 DEFINE_BOOL(never_compact, false, | 712 DEFINE_BOOL(never_compact, false, |
711 "Never perform compaction on full GC - testing only") | 713 "Never perform compaction on full GC - testing only") |
712 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") | 714 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1349 #undef DEFINE_ALIAS_FLOAT | 1351 #undef DEFINE_ALIAS_FLOAT |
1350 #undef DEFINE_ALIAS_ARGS | 1352 #undef DEFINE_ALIAS_ARGS |
1351 | 1353 |
1352 #undef FLAG_MODE_DECLARE | 1354 #undef FLAG_MODE_DECLARE |
1353 #undef FLAG_MODE_DEFINE | 1355 #undef FLAG_MODE_DEFINE |
1354 #undef FLAG_MODE_DEFINE_DEFAULTS | 1356 #undef FLAG_MODE_DEFINE_DEFAULTS |
1355 #undef FLAG_MODE_META | 1357 #undef FLAG_MODE_META |
1356 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1358 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1357 | 1359 |
1358 #undef COMMA | 1360 #undef COMMA |
OLD | NEW |