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 17 matching lines...) Expand all Loading... |
28 // enabled. | 28 // enabled. |
29 // * pre C ompile flags: Generally available flags except when building product | 29 // * pre C ompile flags: Generally available flags except when building product |
30 // or precompiled runtime. | 30 // or precompiled runtime. |
31 // | 31 // |
32 // Usage: | 32 // Usage: |
33 // P(name, type, default_value, comment) | 33 // P(name, type, default_value, comment) |
34 // R(name, product_value, type, default_value, comment) | 34 // R(name, product_value, type, default_value, comment) |
35 // D(name, type, default_value, comment) | 35 // D(name, type, default_value, comment) |
36 // C(name, precompiled_value, product_value, type, default_value, comment) | 36 // C(name, precompiled_value, product_value, type, default_value, comment) |
37 #define FLAG_LIST(P, R, D, C) \ | 37 #define FLAG_LIST(P, R, D, C) \ |
38 P(always_megamorphic_calls, bool, false, \ | |
39 "Instance call always as megamorphic.") \ | |
40 P(background_compilation, bool, USING_MULTICORE, \ | 38 P(background_compilation, bool, USING_MULTICORE, \ |
41 "Run optimizing compilation in background") \ | 39 "Run optimizing compilation in background") \ |
42 R(background_compilation_stop_alot, false, bool, false, \ | 40 R(background_compilation_stop_alot, false, bool, false, \ |
43 "Stress test system: stop background compiler often.") \ | 41 "Stress test system: stop background compiler often.") \ |
44 P(background_finalization, bool, USING_MULTICORE, \ | 42 P(background_finalization, bool, USING_MULTICORE, \ |
45 "Run weak handle finalizers in background") \ | 43 "Run weak handle finalizers in background") \ |
46 R(break_at_isolate_spawn, false, bool, false, \ | 44 R(break_at_isolate_spawn, false, bool, false, \ |
47 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ | 45 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ |
48 C(collect_code, false, true, bool, true, \ | 46 C(collect_code, false, true, bool, true, \ |
49 "Attempt to GC infrequently used code.") \ | 47 "Attempt to GC infrequently used code.") \ |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 P(verbose_gc_hdr, int, 40, \ | 189 P(verbose_gc_hdr, int, 40, \ |
192 "Print verbose GC header interval.") \ | 190 "Print verbose GC header interval.") \ |
193 R(verify_after_gc, false, bool, false, \ | 191 R(verify_after_gc, false, bool, false, \ |
194 "Enables heap verification after GC.") \ | 192 "Enables heap verification after GC.") \ |
195 R(verify_before_gc, false, bool, false, \ | 193 R(verify_before_gc, false, bool, false, \ |
196 "Enables heap verification before GC.") \ | 194 "Enables heap verification before GC.") \ |
197 D(verify_on_transition, bool, false, \ | 195 D(verify_on_transition, bool, false, \ |
198 "Verify on dart <==> VM.") \ | 196 "Verify on dart <==> VM.") \ |
199 | 197 |
200 #endif // VM_FLAG_LIST_H_ | 198 #endif // VM_FLAG_LIST_H_ |
OLD | NEW |