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