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 RUNTIME_VM_FLAG_LIST_H_ | 5 #ifndef RUNTIME_VM_FLAG_LIST_H_ |
6 #define RUNTIME_VM_FLAG_LIST_H_ | 6 #define RUNTIME_VM_FLAG_LIST_H_ |
7 | 7 |
8 // Don't use USING_DBC outside of this file. | 8 // Don't use USING_DBC outside of this file. |
9 #if defined(TARGET_ARCH_DBC) | 9 #if defined(TARGET_ARCH_DBC) |
10 #define USING_DBC true | 10 #define USING_DBC true |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 "Load deferred libraries eagerly.") \ | 96 "Load deferred libraries eagerly.") \ |
97 R(log_marker_tasks, false, bool, false, \ | 97 R(log_marker_tasks, false, bool, false, \ |
98 "Log debugging information for old gen GC marking tasks.") \ | 98 "Log debugging information for old gen GC marking tasks.") \ |
99 R(marker_tasks, USING_MULTICORE ? 2 : 0, int, USING_MULTICORE ? 2 : 0, \ | 99 R(marker_tasks, USING_MULTICORE ? 2 : 0, int, USING_MULTICORE ? 2 : 0, \ |
100 "The number of tasks to spawn during old gen GC marking (0 means " \ | 100 "The number of tasks to spawn during old gen GC marking (0 means " \ |
101 "perform all marking on main thread).") \ | 101 "perform all marking on main thread).") \ |
102 P(max_polymorphic_checks, int, 4, \ | 102 P(max_polymorphic_checks, int, 4, \ |
103 "Maximum number of polymorphic check, otherwise it is megamorphic.") \ | 103 "Maximum number of polymorphic check, otherwise it is megamorphic.") \ |
104 P(max_equality_polymorphic_checks, int, 32, \ | 104 P(max_equality_polymorphic_checks, int, 32, \ |
105 "Maximum number of polymorphic checks in equality operator,") \ | 105 "Maximum number of polymorphic checks in equality operator,") \ |
106 P(merge_sin_cos, bool, false, "Merge sin/cos into sincos") \ | |
107 P(new_gen_ext_limit, int, 64, \ | 106 P(new_gen_ext_limit, int, 64, \ |
108 "maximum total external size (MB) in new gen before triggering GC") \ | 107 "maximum total external size (MB) in new gen before triggering GC") \ |
109 P(new_gen_semi_max_size, int, (kWordSize <= 4) ? 16 : 32, \ | 108 P(new_gen_semi_max_size, int, (kWordSize <= 4) ? 16 : 32, \ |
110 "Max size of new gen semi space in MB") \ | 109 "Max size of new gen semi space in MB") \ |
111 P(optimization_counter_threshold, int, 30000, \ | 110 P(optimization_counter_threshold, int, 30000, \ |
112 "Function's usage-counter value before it is optimized, -1 means never") \ | 111 "Function's usage-counter value before it is optimized, -1 means never") \ |
113 P(old_gen_heap_size, int, (kWordSize <= 4) ? 1536 : 0, \ | 112 P(old_gen_heap_size, int, (kWordSize <= 4) ? 1536 : 0, \ |
114 "Max size of old gen heap size in MB, or 0 for unlimited," \ | 113 "Max size of old gen heap size in MB, or 0 for unlimited," \ |
115 "e.g: --old_gen_heap_size=1024 allows up to 1024MB old gen heap") \ | 114 "e.g: --old_gen_heap_size=1024 allows up to 1024MB old gen heap") \ |
116 R(pause_isolates_on_start, false, bool, false, \ | 115 R(pause_isolates_on_start, false, bool, false, \ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 159 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
161 R(verify_after_gc, false, bool, false, \ | 160 R(verify_after_gc, false, bool, false, \ |
162 "Enables heap verification after GC.") \ | 161 "Enables heap verification after GC.") \ |
163 R(verify_before_gc, false, bool, false, \ | 162 R(verify_before_gc, false, bool, false, \ |
164 "Enables heap verification before GC.") \ | 163 "Enables heap verification before GC.") \ |
165 D(verify_gc_contains, bool, false, \ | 164 D(verify_gc_contains, bool, false, \ |
166 "Enables verification of address contains during GC.") \ | 165 "Enables verification of address contains during GC.") \ |
167 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 166 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
168 | 167 |
169 #endif // RUNTIME_VM_FLAG_LIST_H_ | 168 #endif // RUNTIME_VM_FLAG_LIST_H_ |
OLD | NEW |