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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 DEFINE_INT(target_semi_space_size, 0, | 550 DEFINE_INT(target_semi_space_size, 0, |
551 "target size of a semi-space (in MBytes) before triggering a GC") | 551 "target size of a semi-space (in MBytes) before triggering a GC") |
552 DEFINE_INT(max_semi_space_size, 0, | 552 DEFINE_INT(max_semi_space_size, 0, |
553 "max size of a semi-space (in MBytes), the new space consists of two" | 553 "max size of a semi-space (in MBytes), the new space consists of two" |
554 "semi-spaces") | 554 "semi-spaces") |
555 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space") | 555 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space") |
556 DEFINE_BOOL(experimental_new_space_growth_heuristic, false, | 556 DEFINE_BOOL(experimental_new_space_growth_heuristic, false, |
557 "Grow the new space based on the percentage of survivors instead " | 557 "Grow the new space based on the percentage of survivors instead " |
558 "of their absolute value.") | 558 "of their absolute value.") |
559 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") | 559 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") |
| 560 DEFINE_INT(initial_old_space_size, 0, "initial old space size (in Mbytes)") |
560 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") | 561 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") |
561 DEFINE_BOOL(gc_global, false, "always perform global GCs") | 562 DEFINE_BOOL(gc_global, false, "always perform global GCs") |
562 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") | 563 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") |
563 DEFINE_BOOL(trace_gc, false, | 564 DEFINE_BOOL(trace_gc, false, |
564 "print one trace line following each garbage collection") | 565 "print one trace line following each garbage collection") |
565 DEFINE_BOOL(trace_gc_nvp, false, | 566 DEFINE_BOOL(trace_gc_nvp, false, |
566 "print one detailed trace line in name=value format " | 567 "print one detailed trace line in name=value format " |
567 "after each garbage collection") | 568 "after each garbage collection") |
568 DEFINE_BOOL(trace_gc_ignore_scavenger, false, | 569 DEFINE_BOOL(trace_gc_ignore_scavenger, false, |
569 "do not print trace line after scavenger collection") | 570 "do not print trace line after scavenger collection") |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
999 #undef DEFINE_ALIAS_FLOAT | 1000 #undef DEFINE_ALIAS_FLOAT |
1000 #undef DEFINE_ALIAS_ARGS | 1001 #undef DEFINE_ALIAS_ARGS |
1001 | 1002 |
1002 #undef FLAG_MODE_DECLARE | 1003 #undef FLAG_MODE_DECLARE |
1003 #undef FLAG_MODE_DEFINE | 1004 #undef FLAG_MODE_DEFINE |
1004 #undef FLAG_MODE_DEFINE_DEFAULTS | 1005 #undef FLAG_MODE_DEFINE_DEFAULTS |
1005 #undef FLAG_MODE_META | 1006 #undef FLAG_MODE_META |
1006 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1007 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1007 | 1008 |
1008 #undef COMMA | 1009 #undef COMMA |
OLD | NEW |