| 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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 | 522 |
| 523 // heap.cc | 523 // heap.cc |
| 524 DEFINE_INT(min_semi_space_size, 0, | 524 DEFINE_INT(min_semi_space_size, 0, |
| 525 "min size of a semi-space (in MBytes), the new space consists of two" | 525 "min size of a semi-space (in MBytes), the new space consists of two" |
| 526 "semi-spaces") | 526 "semi-spaces") |
| 527 DEFINE_INT(target_semi_space_size, 0, | 527 DEFINE_INT(target_semi_space_size, 0, |
| 528 "target size of a semi-space (in MBytes) before triggering a GC") | 528 "target size of a semi-space (in MBytes) before triggering a GC") |
| 529 DEFINE_INT(max_semi_space_size, 0, | 529 DEFINE_INT(max_semi_space_size, 0, |
| 530 "max size of a semi-space (in MBytes), the new space consists of two" | 530 "max size of a semi-space (in MBytes), the new space consists of two" |
| 531 "semi-spaces") | 531 "semi-spaces") |
| 532 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space") |
| 532 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") | 533 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") |
| 533 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") | 534 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") |
| 534 DEFINE_BOOL(gc_global, false, "always perform global GCs") | 535 DEFINE_BOOL(gc_global, false, "always perform global GCs") |
| 535 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") | 536 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") |
| 536 DEFINE_BOOL(trace_gc, false, | 537 DEFINE_BOOL(trace_gc, false, |
| 537 "print one trace line following each garbage collection") | 538 "print one trace line following each garbage collection") |
| 538 DEFINE_BOOL(trace_gc_nvp, false, | 539 DEFINE_BOOL(trace_gc_nvp, false, |
| 539 "print one detailed trace line in name=value format " | 540 "print one detailed trace line in name=value format " |
| 540 "after each garbage collection") | 541 "after each garbage collection") |
| 541 DEFINE_BOOL(trace_gc_ignore_scavenger, false, | 542 DEFINE_BOOL(trace_gc_ignore_scavenger, false, |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 978 #undef DEFINE_ALIAS_FLOAT | 979 #undef DEFINE_ALIAS_FLOAT |
| 979 #undef DEFINE_ALIAS_ARGS | 980 #undef DEFINE_ALIAS_ARGS |
| 980 | 981 |
| 981 #undef FLAG_MODE_DECLARE | 982 #undef FLAG_MODE_DECLARE |
| 982 #undef FLAG_MODE_DEFINE | 983 #undef FLAG_MODE_DEFINE |
| 983 #undef FLAG_MODE_DEFINE_DEFAULTS | 984 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 984 #undef FLAG_MODE_META | 985 #undef FLAG_MODE_META |
| 985 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 986 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 986 | 987 |
| 987 #undef COMMA | 988 #undef COMMA |
| OLD | NEW |