| 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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 | 462 |
| 463 // frames.cc | 463 // frames.cc |
| 464 DEFINE_int(max_stack_trace_source_length, 300, | 464 DEFINE_int(max_stack_trace_source_length, 300, |
| 465 "maximum length of function source code printed in a stack trace.") | 465 "maximum length of function source code printed in a stack trace.") |
| 466 | 466 |
| 467 // full-codegen.cc | 467 // full-codegen.cc |
| 468 DEFINE_bool(always_inline_smi_code, false, | 468 DEFINE_bool(always_inline_smi_code, false, |
| 469 "always inline smi code in non-opt code") | 469 "always inline smi code in non-opt code") |
| 470 | 470 |
| 471 // heap.cc | 471 // heap.cc |
| 472 DEFINE_int(max_new_space_size, 0, "max size of the new generation (in kBytes)") | 472 DEFINE_int(max_new_space_size, 0, |
| 473 DEFINE_int(max_old_space_size, 0, "max size of the old generation (in Mbytes)") | 473 "max size of the new space consisting of two semi-spaces which are half" |
| 474 "the size (in MBytes)") |
| 475 DEFINE_int(max_old_space_size, 0, "max size of the old space (in Mbytes)") |
| 474 DEFINE_int(max_executable_size, 0, "max size of executable memory (in Mbytes)") | 476 DEFINE_int(max_executable_size, 0, "max size of executable memory (in Mbytes)") |
| 475 DEFINE_bool(gc_global, false, "always perform global GCs") | 477 DEFINE_bool(gc_global, false, "always perform global GCs") |
| 476 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") | 478 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") |
| 477 DEFINE_bool(trace_gc, false, | 479 DEFINE_bool(trace_gc, false, |
| 478 "print one trace line following each garbage collection") | 480 "print one trace line following each garbage collection") |
| 479 DEFINE_bool(trace_gc_nvp, false, | 481 DEFINE_bool(trace_gc_nvp, false, |
| 480 "print one detailed trace line in name=value format " | 482 "print one detailed trace line in name=value format " |
| 481 "after each garbage collection") | 483 "after each garbage collection") |
| 482 DEFINE_bool(trace_gc_ignore_scavenger, false, | 484 DEFINE_bool(trace_gc_ignore_scavenger, false, |
| 483 "do not print trace line after scavenger collection") | 485 "do not print trace line after scavenger collection") |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 #undef DEFINE_ALIAS_float | 906 #undef DEFINE_ALIAS_float |
| 905 #undef DEFINE_ALIAS_args | 907 #undef DEFINE_ALIAS_args |
| 906 | 908 |
| 907 #undef FLAG_MODE_DECLARE | 909 #undef FLAG_MODE_DECLARE |
| 908 #undef FLAG_MODE_DEFINE | 910 #undef FLAG_MODE_DEFINE |
| 909 #undef FLAG_MODE_DEFINE_DEFAULTS | 911 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 910 #undef FLAG_MODE_META | 912 #undef FLAG_MODE_META |
| 911 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 913 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 912 | 914 |
| 913 #undef COMMA | 915 #undef COMMA |
| OLD | NEW |