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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 | 456 |
457 // frames.cc | 457 // frames.cc |
458 DEFINE_int(max_stack_trace_source_length, 300, | 458 DEFINE_int(max_stack_trace_source_length, 300, |
459 "maximum length of function source code printed in a stack trace.") | 459 "maximum length of function source code printed in a stack trace.") |
460 | 460 |
461 // full-codegen.cc | 461 // full-codegen.cc |
462 DEFINE_bool(always_inline_smi_code, false, | 462 DEFINE_bool(always_inline_smi_code, false, |
463 "always inline smi code in non-opt code") | 463 "always inline smi code in non-opt code") |
464 | 464 |
465 // heap.cc | 465 // heap.cc |
| 466 DEFINE_int(min_semi_space_size, 0, |
| 467 "min size of a semi-space (in MBytes), the new space consists of two" |
| 468 "semi-spaces") |
466 DEFINE_int(max_semi_space_size, 0, | 469 DEFINE_int(max_semi_space_size, 0, |
467 "max size of a semi-space (in MBytes), the new space consists of two" | 470 "max size of a semi-space (in MBytes), the new space consists of two" |
468 "semi-spaces") | 471 "semi-spaces") |
469 DEFINE_int(max_old_space_size, 0, "max size of the old space (in Mbytes)") | 472 DEFINE_int(max_old_space_size, 0, "max size of the old space (in Mbytes)") |
470 DEFINE_int(max_executable_size, 0, "max size of executable memory (in Mbytes)") | 473 DEFINE_int(max_executable_size, 0, "max size of executable memory (in Mbytes)") |
471 DEFINE_bool(gc_global, false, "always perform global GCs") | 474 DEFINE_bool(gc_global, false, "always perform global GCs") |
472 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") | 475 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") |
473 DEFINE_bool(trace_gc, false, | 476 DEFINE_bool(trace_gc, false, |
474 "print one trace line following each garbage collection") | 477 "print one trace line following each garbage collection") |
475 DEFINE_bool(trace_gc_nvp, false, | 478 DEFINE_bool(trace_gc_nvp, false, |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 #undef DEFINE_ALIAS_float | 902 #undef DEFINE_ALIAS_float |
900 #undef DEFINE_ALIAS_args | 903 #undef DEFINE_ALIAS_args |
901 | 904 |
902 #undef FLAG_MODE_DECLARE | 905 #undef FLAG_MODE_DECLARE |
903 #undef FLAG_MODE_DEFINE | 906 #undef FLAG_MODE_DEFINE |
904 #undef FLAG_MODE_DEFINE_DEFAULTS | 907 #undef FLAG_MODE_DEFINE_DEFAULTS |
905 #undef FLAG_MODE_META | 908 #undef FLAG_MODE_META |
906 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 909 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
907 | 910 |
908 #undef COMMA | 911 #undef COMMA |
OLD | NEW |