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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // Usage: | 44 // Usage: |
45 // P(name, type, default_value, comment) | 45 // P(name, type, default_value, comment) |
46 // R(name, product_value, type, default_value, comment) | 46 // R(name, product_value, type, default_value, comment) |
47 // D(name, type, default_value, comment) | 47 // D(name, type, default_value, comment) |
48 // C(name, precompiled_value, product_value, type, default_value, comment) | 48 // C(name, precompiled_value, product_value, type, default_value, comment) |
49 #define FLAG_LIST(P, R, D, C) \ | 49 #define FLAG_LIST(P, R, D, C) \ |
50 P(background_compilation, bool, USING_MULTICORE, \ | 50 P(background_compilation, bool, USING_MULTICORE, \ |
51 "Run optimizing compilation in background") \ | 51 "Run optimizing compilation in background") \ |
52 R(background_compilation_stop_alot, false, bool, false, \ | 52 R(background_compilation_stop_alot, false, bool, false, \ |
53 "Stress test system: stop background compiler often.") \ | 53 "Stress test system: stop background compiler often.") \ |
54 P(background_finalization, bool, false, \ | |
55 "Run weak handle finalizers in background") \ | |
56 R(break_at_isolate_spawn, false, bool, false, \ | 54 R(break_at_isolate_spawn, false, bool, false, \ |
57 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ | 55 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ |
58 C(collect_code, false, true, bool, true, \ | 56 C(collect_code, false, true, bool, true, \ |
59 "Attempt to GC infrequently used code.") \ | 57 "Attempt to GC infrequently used code.") \ |
60 P(collect_dynamic_function_names, bool, true, \ | 58 P(collect_dynamic_function_names, bool, true, \ |
61 "Collects all dynamic function names to identify unique targets") \ | 59 "Collects all dynamic function names to identify unique targets") \ |
62 R(concurrent_sweep, USING_MULTICORE, bool, USING_MULTICORE, \ | 60 R(concurrent_sweep, USING_MULTICORE, bool, USING_MULTICORE, \ |
63 "Concurrent sweep for old generation.") \ | 61 "Concurrent sweep for old generation.") \ |
64 R(dedup_instructions, true, bool, false, \ | 62 R(dedup_instructions, true, bool, false, \ |
65 "Canonicalize instructions when precompiling.") \ | 63 "Canonicalize instructions when precompiling.") \ |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 178 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
181 R(verify_after_gc, false, bool, false, \ | 179 R(verify_after_gc, false, bool, false, \ |
182 "Enables heap verification after GC.") \ | 180 "Enables heap verification after GC.") \ |
183 R(verify_before_gc, false, bool, false, \ | 181 R(verify_before_gc, false, bool, false, \ |
184 "Enables heap verification before GC.") \ | 182 "Enables heap verification before GC.") \ |
185 D(verify_gc_contains, bool, false, \ | 183 D(verify_gc_contains, bool, false, \ |
186 "Enables verification of address contains during GC.") \ | 184 "Enables verification of address contains during GC.") \ |
187 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 185 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
188 | 186 |
189 #endif // RUNTIME_VM_FLAG_LIST_H_ | 187 #endif // RUNTIME_VM_FLAG_LIST_H_ |
OLD | NEW |