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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 "do not print trace line after scavenger collection") | 487 "do not print trace line after scavenger collection") |
488 DEFINE_bool(print_cumulative_gc_stat, false, | 488 DEFINE_bool(print_cumulative_gc_stat, false, |
489 "print cumulative GC statistics in name=value format on exit") | 489 "print cumulative GC statistics in name=value format on exit") |
490 DEFINE_bool(print_max_heap_committed, false, | 490 DEFINE_bool(print_max_heap_committed, false, |
491 "print statistics of the maximum memory committed for the heap " | 491 "print statistics of the maximum memory committed for the heap " |
492 "in name=value format on exit") | 492 "in name=value format on exit") |
493 DEFINE_bool(trace_gc_verbose, false, | 493 DEFINE_bool(trace_gc_verbose, false, |
494 "print more details following each garbage collection") | 494 "print more details following each garbage collection") |
495 DEFINE_bool(trace_fragmentation, false, | 495 DEFINE_bool(trace_fragmentation, false, |
496 "report fragmentation for old pointer and data pages") | 496 "report fragmentation for old pointer and data pages") |
497 DEFINE_bool(trace_external_memory, false, | |
498 "print amount of external allocated memory after each time " | |
499 "it is adjusted.") | |
500 DEFINE_bool(collect_maps, true, | 497 DEFINE_bool(collect_maps, true, |
501 "garbage collect maps from which no objects can be reached") | 498 "garbage collect maps from which no objects can be reached") |
502 DEFINE_bool(weak_embedded_maps_in_ic, true, | 499 DEFINE_bool(weak_embedded_maps_in_ic, true, |
503 "make maps embedded in inline cache stubs") | 500 "make maps embedded in inline cache stubs") |
504 DEFINE_bool(weak_embedded_maps_in_optimized_code, true, | 501 DEFINE_bool(weak_embedded_maps_in_optimized_code, true, |
505 "make maps embedded in optimized code weak") | 502 "make maps embedded in optimized code weak") |
506 DEFINE_bool(weak_embedded_objects_in_optimized_code, true, | 503 DEFINE_bool(weak_embedded_objects_in_optimized_code, true, |
507 "make objects embedded in optimized code weak") | 504 "make objects embedded in optimized code weak") |
508 DEFINE_bool(flush_code, true, | 505 DEFINE_bool(flush_code, true, |
509 "flush code that we expect not to use again (during full gc)") | 506 "flush code that we expect not to use again (during full gc)") |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 #undef DEFINE_ALIAS_float | 889 #undef DEFINE_ALIAS_float |
893 #undef DEFINE_ALIAS_args | 890 #undef DEFINE_ALIAS_args |
894 | 891 |
895 #undef FLAG_MODE_DECLARE | 892 #undef FLAG_MODE_DECLARE |
896 #undef FLAG_MODE_DEFINE | 893 #undef FLAG_MODE_DEFINE |
897 #undef FLAG_MODE_DEFINE_DEFAULTS | 894 #undef FLAG_MODE_DEFINE_DEFAULTS |
898 #undef FLAG_MODE_META | 895 #undef FLAG_MODE_META |
899 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 896 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
900 | 897 |
901 #undef COMMA | 898 #undef COMMA |
OLD | NEW |