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 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 "semi-spaces") | 627 "semi-spaces") |
628 DEFINE_INT(max_semi_space_size, 0, | 628 DEFINE_INT(max_semi_space_size, 0, |
629 "max size of a semi-space (in MBytes), the new space consists of two" | 629 "max size of a semi-space (in MBytes), the new space consists of two" |
630 "semi-spaces") | 630 "semi-spaces") |
631 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space") | 631 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space") |
632 DEFINE_BOOL(experimental_new_space_growth_heuristic, false, | 632 DEFINE_BOOL(experimental_new_space_growth_heuristic, false, |
633 "Grow the new space based on the percentage of survivors instead " | 633 "Grow the new space based on the percentage of survivors instead " |
634 "of their absolute value.") | 634 "of their absolute value.") |
635 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") | 635 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") |
636 DEFINE_INT(initial_old_space_size, 0, "initial old space size (in Mbytes)") | 636 DEFINE_INT(initial_old_space_size, 0, "initial old space size (in Mbytes)") |
637 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") | |
638 DEFINE_BOOL(gc_global, false, "always perform global GCs") | 637 DEFINE_BOOL(gc_global, false, "always perform global GCs") |
639 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") | 638 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") |
640 DEFINE_INT(retain_maps_for_n_gc, 2, | 639 DEFINE_INT(retain_maps_for_n_gc, 2, |
641 "keeps maps alive for <n> old space garbage collections") | 640 "keeps maps alive for <n> old space garbage collections") |
642 DEFINE_BOOL(trace_gc, false, | 641 DEFINE_BOOL(trace_gc, false, |
643 "print one trace line following each garbage collection") | 642 "print one trace line following each garbage collection") |
644 DEFINE_BOOL(trace_gc_nvp, false, | 643 DEFINE_BOOL(trace_gc_nvp, false, |
645 "print one detailed trace line in name=value format " | 644 "print one detailed trace line in name=value format " |
646 "after each garbage collection") | 645 "after each garbage collection") |
647 DEFINE_BOOL(trace_gc_ignore_scavenger, false, | 646 DEFINE_BOOL(trace_gc_ignore_scavenger, false, |
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1364 #undef DEFINE_ALIAS_FLOAT | 1363 #undef DEFINE_ALIAS_FLOAT |
1365 #undef DEFINE_ALIAS_ARGS | 1364 #undef DEFINE_ALIAS_ARGS |
1366 | 1365 |
1367 #undef FLAG_MODE_DECLARE | 1366 #undef FLAG_MODE_DECLARE |
1368 #undef FLAG_MODE_DEFINE | 1367 #undef FLAG_MODE_DEFINE |
1369 #undef FLAG_MODE_DEFINE_DEFAULTS | 1368 #undef FLAG_MODE_DEFINE_DEFAULTS |
1370 #undef FLAG_MODE_META | 1369 #undef FLAG_MODE_META |
1371 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1370 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1372 | 1371 |
1373 #undef COMMA | 1372 #undef COMMA |
OLD | NEW |