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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 "maximum length of function source code printed in a stack trace.") | 501 "maximum length of function source code printed in a stack trace.") |
502 | 502 |
503 // full-codegen.cc | 503 // full-codegen.cc |
504 DEFINE_BOOL(always_inline_smi_code, false, | 504 DEFINE_BOOL(always_inline_smi_code, false, |
505 "always inline smi code in non-opt code") | 505 "always inline smi code in non-opt code") |
506 | 506 |
507 // heap.cc | 507 // heap.cc |
508 DEFINE_INT(min_semi_space_size, 0, | 508 DEFINE_INT(min_semi_space_size, 0, |
509 "min size of a semi-space (in MBytes), the new space consists of two" | 509 "min size of a semi-space (in MBytes), the new space consists of two" |
510 "semi-spaces") | 510 "semi-spaces") |
| 511 DEFINE_INT(target_semi_space_size, 0, |
| 512 "target size of a semi-space (in MBytes) before triggering a GC") |
511 DEFINE_INT(max_semi_space_size, 0, | 513 DEFINE_INT(max_semi_space_size, 0, |
512 "max size of a semi-space (in MBytes), the new space consists of two" | 514 "max size of a semi-space (in MBytes), the new space consists of two" |
513 "semi-spaces") | 515 "semi-spaces") |
514 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") | 516 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") |
515 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") | 517 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") |
516 DEFINE_BOOL(gc_global, false, "always perform global GCs") | 518 DEFINE_BOOL(gc_global, false, "always perform global GCs") |
517 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") | 519 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") |
518 DEFINE_BOOL(trace_gc, false, | 520 DEFINE_BOOL(trace_gc, false, |
519 "print one trace line following each garbage collection") | 521 "print one trace line following each garbage collection") |
520 DEFINE_BOOL(trace_gc_nvp, false, | 522 DEFINE_BOOL(trace_gc_nvp, false, |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
948 #undef DEFINE_ALIAS_FLOAT | 950 #undef DEFINE_ALIAS_FLOAT |
949 #undef DEFINE_ALIAS_ARGS | 951 #undef DEFINE_ALIAS_ARGS |
950 | 952 |
951 #undef FLAG_MODE_DECLARE | 953 #undef FLAG_MODE_DECLARE |
952 #undef FLAG_MODE_DEFINE | 954 #undef FLAG_MODE_DEFINE |
953 #undef FLAG_MODE_DEFINE_DEFAULTS | 955 #undef FLAG_MODE_DEFINE_DEFAULTS |
954 #undef FLAG_MODE_META | 956 #undef FLAG_MODE_META |
955 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 957 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
956 | 958 |
957 #undef COMMA | 959 #undef COMMA |
OLD | NEW |