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 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 "disable remembered set verification") | 718 "disable remembered set verification") |
719 #endif | 719 #endif |
720 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") | 720 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") |
721 DEFINE_BOOL(memory_reducer, true, "use memory reducer") | 721 DEFINE_BOOL(memory_reducer, true, "use memory reducer") |
722 DEFINE_INT(heap_growing_percent, 0, | 722 DEFINE_INT(heap_growing_percent, 0, |
723 "specifies heap growing factor as (1 + heap_growing_percent/100)") | 723 "specifies heap growing factor as (1 + heap_growing_percent/100)") |
724 DEFINE_INT(v8_os_page_size, 0, "override OS page size (in KBytes)") | 724 DEFINE_INT(v8_os_page_size, 0, "override OS page size (in KBytes)") |
725 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") | 725 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") |
726 DEFINE_BOOL(never_compact, false, | 726 DEFINE_BOOL(never_compact, false, |
727 "Never perform compaction on full GC - testing only") | 727 "Never perform compaction on full GC - testing only") |
| 728 // TODO(ulan): enable compaction for concurrent marking when it correctly |
| 729 // records slots to evacuation candidates. |
| 730 DEFINE_IMPLICATION(concurrent_marking, never_compact) |
728 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") | 731 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") |
729 DEFINE_BOOL(cleanup_code_caches_at_gc, true, | 732 DEFINE_BOOL(cleanup_code_caches_at_gc, true, |
730 "Flush code caches in maps during mark compact cycle.") | 733 "Flush code caches in maps during mark compact cycle.") |
731 DEFINE_BOOL(use_marking_progress_bar, true, | 734 DEFINE_BOOL(use_marking_progress_bar, true, |
732 "Use a progress bar to scan large objects in increments when " | 735 "Use a progress bar to scan large objects in increments when " |
733 "incremental marking is active.") | 736 "incremental marking is active.") |
734 DEFINE_BOOL(force_marking_deque_overflows, false, | 737 DEFINE_BOOL(force_marking_deque_overflows, false, |
735 "force overflows of marking deque by reducing it's size " | 738 "force overflows of marking deque by reducing it's size " |
736 "to 64 words") | 739 "to 64 words") |
737 DEFINE_BOOL(stress_compaction, false, | 740 DEFINE_BOOL(stress_compaction, false, |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1364 #undef DEFINE_ALIAS_FLOAT | 1367 #undef DEFINE_ALIAS_FLOAT |
1365 #undef DEFINE_ALIAS_ARGS | 1368 #undef DEFINE_ALIAS_ARGS |
1366 | 1369 |
1367 #undef FLAG_MODE_DECLARE | 1370 #undef FLAG_MODE_DECLARE |
1368 #undef FLAG_MODE_DEFINE | 1371 #undef FLAG_MODE_DEFINE |
1369 #undef FLAG_MODE_DEFINE_DEFAULTS | 1372 #undef FLAG_MODE_DEFINE_DEFAULTS |
1370 #undef FLAG_MODE_META | 1373 #undef FLAG_MODE_META |
1371 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1374 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1372 | 1375 |
1373 #undef COMMA | 1376 #undef COMMA |
OLD | NEW |