| 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 // 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 C(load_deferred_eagerly, true, true, bool, false, \ | 97 C(load_deferred_eagerly, true, true, bool, false, \ |
| 98 "Load deferred libraries eagerly.") \ | 98 "Load deferred libraries eagerly.") \ |
| 99 R(log_marker_tasks, false, bool, false, \ | 99 R(log_marker_tasks, false, bool, false, \ |
| 100 "Log debugging information for old gen GC marking tasks.") \ | 100 "Log debugging information for old gen GC marking tasks.") \ |
| 101 R(marker_tasks, USING_MULTICORE ? 2 : 0, int, USING_MULTICORE ? 2 : 0, \ | 101 R(marker_tasks, USING_MULTICORE ? 2 : 0, int, USING_MULTICORE ? 2 : 0, \ |
| 102 "The number of tasks to spawn during old gen GC marking (0 means " \ | 102 "The number of tasks to spawn during old gen GC marking (0 means " \ |
| 103 "perform all marking on main thread).") \ | 103 "perform all marking on main thread).") \ |
| 104 P(max_polymorphic_checks, int, 4, \ | 104 P(max_polymorphic_checks, int, 4, \ |
| 105 "Maximum number of polymorphic check, otherwise it is megamorphic.") \ | 105 "Maximum number of polymorphic check, otherwise it is megamorphic.") \ |
| 106 P(max_equality_polymorphic_checks, int, 32, \ | 106 P(max_equality_polymorphic_checks, int, 32, \ |
| 107 "Maximum number of polymorphic checks in equality operator,") \ | 107 "Maximum number of polymorphic checks in equality operator,") \ |
| 108 P(merge_sin_cos, bool, false, \ | 108 P(merge_sin_cos, bool, false, \ |
| 109 "Merge sin/cos into sincos") \ | 109 "Merge sin/cos into sincos") \ |
| 110 P(new_gen_ext_limit, int, 64, \ | 110 P(new_gen_ext_limit, int, 64, \ |
| 111 "maximum total external size (MB) in new gen before triggering GC") \ | 111 "maximum total external size (MB) in new gen before triggering GC") \ |
| 112 P(new_gen_semi_max_size, int, (kWordSize <= 4) ? 16 : 32, \ | 112 P(new_gen_semi_max_size, int, (kWordSize <= 4) ? 16 : 32, \ |
| 113 "Max size of new gen semi space in MB") \ | 113 "Max size of new gen semi space in MB") \ |
| 114 P(optimization_counter_threshold, int, 30000, \ | 114 P(optimization_counter_threshold, int, 30000, \ |
| 115 "Function's usage-counter value before it is optimized, -1 means never") \ | 115 "Function's usage-counter value before it is optimized, -1 means never") \ |
| 116 P(old_gen_heap_size, int, (kWordSize <= 4) ? 1536 : 0, \ | 116 P(old_gen_heap_size, int, (kWordSize <= 4) ? 1536 : 0, \ |
| 117 "Max size of old gen heap size in MB, or 0 for unlimited," \ | 117 "Max size of old gen heap size in MB, or 0 for unlimited," \ |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 D(trace_zones, bool, false, \ | 175 D(trace_zones, bool, false, \ |
| 176 "Traces allocation sizes in the zone.") \ | 176 "Traces allocation sizes in the zone.") \ |
| 177 P(truncating_left_shift, bool, true, \ | 177 P(truncating_left_shift, bool, true, \ |
| 178 "Optimize left shift to truncate if possible") \ | 178 "Optimize left shift to truncate if possible") \ |
| 179 P(use_cha_deopt, bool, true, \ | 179 P(use_cha_deopt, bool, true, \ |
| 180 "Use class hierarchy analysis even if it can cause deoptimization.") \ | 180 "Use class hierarchy analysis even if it can cause deoptimization.") \ |
| 181 P(use_field_guards, bool, !USING_DBC, \ | 181 P(use_field_guards, bool, !USING_DBC, \ |
| 182 "Use field guards and track field types") \ | 182 "Use field guards and track field types") \ |
| 183 C(use_osr, false, true, bool, true, \ | 183 C(use_osr, false, true, bool, true, \ |
| 184 "Use OSR") \ | 184 "Use OSR") \ |
| 185 R(verbose_dev, false, bool, false, \ | |
| 186 "Enables verbose messages during development.") \ | |
| 187 P(verbose_gc, bool, false, \ | 185 P(verbose_gc, bool, false, \ |
| 188 "Enables verbose GC.") \ | 186 "Enables verbose GC.") \ |
| 189 P(verbose_gc_hdr, int, 40, \ | 187 P(verbose_gc_hdr, int, 40, \ |
| 190 "Print verbose GC header interval.") \ | 188 "Print verbose GC header interval.") \ |
| 191 R(verify_after_gc, false, bool, false, \ | 189 R(verify_after_gc, false, bool, false, \ |
| 192 "Enables heap verification after GC.") \ | 190 "Enables heap verification after GC.") \ |
| 193 R(verify_before_gc, false, bool, false, \ | 191 R(verify_before_gc, false, bool, false, \ |
| 194 "Enables heap verification before GC.") \ | 192 "Enables heap verification before GC.") \ |
| 195 D(verify_on_transition, bool, false, \ | 193 D(verify_on_transition, bool, false, \ |
| 196 "Verify on dart <==> VM.") \ | 194 "Verify on dart <==> VM.") \ |
| 197 | 195 |
| 198 #endif // VM_FLAG_LIST_H_ | 196 #endif // VM_FLAG_LIST_H_ |
| OLD | NEW |