| 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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 DEFINE_BOOL(compact_code_space, true, | 678 DEFINE_BOOL(compact_code_space, true, |
| 679 "Compact code space on full non-incremental collections") | 679 "Compact code space on full non-incremental collections") |
| 680 DEFINE_BOOL(incremental_code_compaction, true, | 680 DEFINE_BOOL(incremental_code_compaction, true, |
| 681 "Compact code space on full incremental collections") | 681 "Compact code space on full incremental collections") |
| 682 DEFINE_BOOL(cleanup_code_caches_at_gc, true, | 682 DEFINE_BOOL(cleanup_code_caches_at_gc, true, |
| 683 "Flush inline caches prior to mark compact collection and " | 683 "Flush inline caches prior to mark compact collection and " |
| 684 "flush code caches in maps during mark compact cycle.") | 684 "flush code caches in maps during mark compact cycle.") |
| 685 DEFINE_BOOL(use_marking_progress_bar, true, | 685 DEFINE_BOOL(use_marking_progress_bar, true, |
| 686 "Use a progress bar to scan large objects in increments when " | 686 "Use a progress bar to scan large objects in increments when " |
| 687 "incremental marking is active.") | 687 "incremental marking is active.") |
| 688 DEFINE_BOOL(zap_code_space, true, | 688 DEFINE_BOOL(zap_code_space, DEBUG_BOOL, |
| 689 "Zap free memory in code space with 0xCC while sweeping.") | 689 "Zap free memory in code space with 0xCC while sweeping.") |
| 690 DEFINE_INT(random_seed, 0, | 690 DEFINE_INT(random_seed, 0, |
| 691 "Default seed for initializing random generator " | 691 "Default seed for initializing random generator " |
| 692 "(0, the default, means to use system random).") | 692 "(0, the default, means to use system random).") |
| 693 | 693 |
| 694 // objects.cc | 694 // objects.cc |
| 695 DEFINE_BOOL(trace_weak_arrays, false, "Trace WeakFixedArray usage") | 695 DEFINE_BOOL(trace_weak_arrays, false, "Trace WeakFixedArray usage") |
| 696 DEFINE_BOOL(track_prototype_users, false, | 696 DEFINE_BOOL(track_prototype_users, false, |
| 697 "Keep track of which maps refer to a given prototype object") | 697 "Keep track of which maps refer to a given prototype object") |
| 698 DEFINE_BOOL(trace_prototype_users, false, | 698 DEFINE_BOOL(trace_prototype_users, false, |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1066 #undef DEFINE_ALIAS_FLOAT | 1066 #undef DEFINE_ALIAS_FLOAT |
| 1067 #undef DEFINE_ALIAS_ARGS | 1067 #undef DEFINE_ALIAS_ARGS |
| 1068 | 1068 |
| 1069 #undef FLAG_MODE_DECLARE | 1069 #undef FLAG_MODE_DECLARE |
| 1070 #undef FLAG_MODE_DEFINE | 1070 #undef FLAG_MODE_DEFINE |
| 1071 #undef FLAG_MODE_DEFINE_DEFAULTS | 1071 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1072 #undef FLAG_MODE_META | 1072 #undef FLAG_MODE_META |
| 1073 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1073 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1074 | 1074 |
| 1075 #undef COMMA | 1075 #undef COMMA |
| OLD | NEW |