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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 DEFINE_BOOL(age_code, true, | 608 DEFINE_BOOL(age_code, true, |
609 "track un-executed functions to age code and flush only " | 609 "track un-executed functions to age code and flush only " |
610 "old code (required for code flushing)") | 610 "old code (required for code flushing)") |
611 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 611 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
612 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") | 612 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") |
613 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 613 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
614 DEFINE_BOOL(trace_incremental_marking, false, | 614 DEFINE_BOOL(trace_incremental_marking, false, |
615 "trace progress of the incremental marking") | 615 "trace progress of the incremental marking") |
616 DEFINE_BOOL(track_gc_object_stats, false, | 616 DEFINE_BOOL(track_gc_object_stats, false, |
617 "track object counts and memory usage") | 617 "track object counts and memory usage") |
| 618 DEFINE_BOOL(track_detached_contexts, false, |
| 619 "track native contexts that are expected to be garbage collected") |
618 #ifdef VERIFY_HEAP | 620 #ifdef VERIFY_HEAP |
619 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") | 621 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") |
620 #endif | 622 #endif |
621 | 623 |
622 | 624 |
623 // heap-snapshot-generator.cc | 625 // heap-snapshot-generator.cc |
624 DEFINE_BOOL(heap_profiler_trace_objects, false, | 626 DEFINE_BOOL(heap_profiler_trace_objects, false, |
625 "Dump heap object allocations/movements/size_updates") | 627 "Dump heap object allocations/movements/size_updates") |
626 | 628 |
627 | 629 |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 #undef DEFINE_ALIAS_FLOAT | 1016 #undef DEFINE_ALIAS_FLOAT |
1015 #undef DEFINE_ALIAS_ARGS | 1017 #undef DEFINE_ALIAS_ARGS |
1016 | 1018 |
1017 #undef FLAG_MODE_DECLARE | 1019 #undef FLAG_MODE_DECLARE |
1018 #undef FLAG_MODE_DEFINE | 1020 #undef FLAG_MODE_DEFINE |
1019 #undef FLAG_MODE_DEFINE_DEFAULTS | 1021 #undef FLAG_MODE_DEFINE_DEFAULTS |
1020 #undef FLAG_MODE_META | 1022 #undef FLAG_MODE_META |
1021 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1023 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1022 | 1024 |
1023 #undef COMMA | 1025 #undef COMMA |
OLD | NEW |