OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_FLAG_LIST_H_ | 5 #ifndef VM_FLAG_LIST_H_ |
6 #define VM_FLAG_LIST_H_ | 6 #define VM_FLAG_LIST_H_ |
7 | 7 |
8 // List of all flags in the VM. | 8 // List of all flags in the VM. |
9 // Flags can be one of three categories: | 9 // Flags can be one of three categories: |
10 // * P roduct flags: Can be set in any of the deployment modes, including in | 10 // * P roduct flags: Can be set in any of the deployment modes, including in |
(...skipping 16 matching lines...) Expand all Loading... |
27 R(gc_at_alloc, false, bool, false, \ | 27 R(gc_at_alloc, false, bool, false, \ |
28 "GC at every allocation.") \ | 28 "GC at every allocation.") \ |
29 P(new_gen_ext_limit, int, 64, \ | 29 P(new_gen_ext_limit, int, 64, \ |
30 "maximum total external size (MB) in new gen before triggering GC") \ | 30 "maximum total external size (MB) in new gen before triggering GC") \ |
31 R(pretenure_all, false, bool, false, \ | 31 R(pretenure_all, false, bool, false, \ |
32 "Global pretenuring (for testing).") \ | 32 "Global pretenuring (for testing).") \ |
33 P(pretenure_interval, int, 10, \ | 33 P(pretenure_interval, int, 10, \ |
34 "Back off pretenuring after this many cycles.") \ | 34 "Back off pretenuring after this many cycles.") \ |
35 P(pretenure_threshold, int, 98, \ | 35 P(pretenure_threshold, int, 98, \ |
36 "Trigger pretenuring when this many percent are promoted.") \ | 36 "Trigger pretenuring when this many percent are promoted.") \ |
| 37 R(profiler, false, bool, true, \ |
| 38 "Enable the profiler.") \ |
| 39 R(support_ast_printer, false, bool, true, \ |
| 40 "Support the AST printer.") \ |
| 41 R(support_debugger, false, bool, true, \ |
| 42 "Support the debugger.") \ |
| 43 R(support_disassembler, false, bool, true, \ |
| 44 "Support the disassembler.") \ |
| 45 R(support_il_printer, false, bool, true, \ |
| 46 "Support the IL printer.") \ |
| 47 R(support_service, false, bool, true, \ |
| 48 "Support the service protocol.") \ |
| 49 R(support_coverage, false, bool, true, \ |
| 50 "Support code coverage.") \ |
| 51 R(support_timeline, false, bool, true, \ |
| 52 "Support timeline.") \ |
37 D(trace_handles, bool, false, \ | 53 D(trace_handles, bool, false, \ |
38 "Traces allocation of handles.") \ | 54 "Traces allocation of handles.") \ |
39 D(trace_zones, bool, false, \ | 55 D(trace_zones, bool, false, \ |
40 "Traces allocation sizes in the zone.") \ | 56 "Traces allocation sizes in the zone.") \ |
41 P(verbose_gc, bool, false, \ | 57 P(verbose_gc, bool, false, \ |
42 "Enables verbose GC.") \ | 58 "Enables verbose GC.") \ |
43 P(verbose_gc_hdr, int, 40, \ | 59 P(verbose_gc_hdr, int, 40, \ |
44 "Print verbose GC header interval.") \ | 60 "Print verbose GC header interval.") \ |
45 R(verify_after_gc, false, bool, false, \ | 61 R(verify_after_gc, false, bool, false, \ |
46 "Enables heap verification after GC.") \ | 62 "Enables heap verification after GC.") \ |
47 R(verify_before_gc, false, bool, false, \ | 63 R(verify_before_gc, false, bool, false, \ |
48 "Enables heap verification before GC.") \ | 64 "Enables heap verification before GC.") \ |
49 R(support_debugger, false, bool, true, \ | 65 |
50 "Support the debugger.") \ | |
51 R(support_service, false, bool, true, \ | |
52 "Support the service protocol.") \ | |
53 R(support_coverage, false, bool, true, \ | |
54 "Support code coverage.") \ | |
55 R(support_timeline, false, bool, true, \ | |
56 "Support timeline.") \ | |
57 | 66 |
58 #endif // VM_FLAG_LIST_H_ | 67 #endif // VM_FLAG_LIST_H_ |
OLD | NEW |