| 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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 "do not print trace line after scavenger collection") | 541 "do not print trace line after scavenger collection") |
| 542 DEFINE_BOOL(trace_idle_notification, false, | 542 DEFINE_BOOL(trace_idle_notification, false, |
| 543 "print one trace line following each idle notification") | 543 "print one trace line following each idle notification") |
| 544 DEFINE_BOOL(print_cumulative_gc_stat, false, | 544 DEFINE_BOOL(print_cumulative_gc_stat, false, |
| 545 "print cumulative GC statistics in name=value format on exit") | 545 "print cumulative GC statistics in name=value format on exit") |
| 546 DEFINE_BOOL(print_max_heap_committed, false, | 546 DEFINE_BOOL(print_max_heap_committed, false, |
| 547 "print statistics of the maximum memory committed for the heap " | 547 "print statistics of the maximum memory committed for the heap " |
| 548 "in name=value format on exit") | 548 "in name=value format on exit") |
| 549 DEFINE_BOOL(trace_gc_verbose, false, | 549 DEFINE_BOOL(trace_gc_verbose, false, |
| 550 "print more details following each garbage collection") | 550 "print more details following each garbage collection") |
| 551 DEFINE_BOOL(trace_fragmentation, false, | 551 DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space") |
| 552 "report fragmentation for old pointer and data pages") | 552 DEFINE_BOOL(trace_fragmentation_verbose, false, |
| 553 "report fragmentation for old space (detailed)") |
| 553 DEFINE_BOOL(collect_maps, true, | 554 DEFINE_BOOL(collect_maps, true, |
| 554 "garbage collect maps from which no objects can be reached") | 555 "garbage collect maps from which no objects can be reached") |
| 555 DEFINE_BOOL(weak_embedded_maps_in_ic, true, | 556 DEFINE_BOOL(weak_embedded_maps_in_ic, true, |
| 556 "make maps embedded in inline cache stubs") | 557 "make maps embedded in inline cache stubs") |
| 557 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, | 558 DEFINE_BOOL(weak_embedded_maps_in_optimized_code, true, |
| 558 "make maps embedded in optimized code weak") | 559 "make maps embedded in optimized code weak") |
| 559 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, | 560 DEFINE_BOOL(weak_embedded_objects_in_optimized_code, true, |
| 560 "make objects embedded in optimized code weak") | 561 "make objects embedded in optimized code weak") |
| 561 DEFINE_BOOL(flush_code, true, | 562 DEFINE_BOOL(flush_code, true, |
| 562 "flush code that we expect not to use again (during full gc)") | 563 "flush code that we expect not to use again (during full gc)") |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 #undef DEFINE_ALIAS_FLOAT | 974 #undef DEFINE_ALIAS_FLOAT |
| 974 #undef DEFINE_ALIAS_ARGS | 975 #undef DEFINE_ALIAS_ARGS |
| 975 | 976 |
| 976 #undef FLAG_MODE_DECLARE | 977 #undef FLAG_MODE_DECLARE |
| 977 #undef FLAG_MODE_DEFINE | 978 #undef FLAG_MODE_DEFINE |
| 978 #undef FLAG_MODE_DEFINE_DEFAULTS | 979 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 979 #undef FLAG_MODE_META | 980 #undef FLAG_MODE_META |
| 980 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 981 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 981 | 982 |
| 982 #undef COMMA | 983 #undef COMMA |
| OLD | NEW |