| 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 27 matching lines...) Expand all Loading... |
| 38 // Usage: | 38 // Usage: |
| 39 // P(name, type, default_value, comment) | 39 // P(name, type, default_value, comment) |
| 40 // R(name, product_value, type, default_value, comment) | 40 // R(name, product_value, type, default_value, comment) |
| 41 // D(name, type, default_value, comment) | 41 // D(name, type, default_value, comment) |
| 42 // C(name, precompiled_value, product_value, type, default_value, comment) | 42 // C(name, precompiled_value, product_value, type, default_value, comment) |
| 43 #define FLAG_LIST(P, R, D, C) \ | 43 #define FLAG_LIST(P, R, D, C) \ |
| 44 P(background_compilation, bool, USING_MULTICORE, \ | 44 P(background_compilation, bool, USING_MULTICORE, \ |
| 45 "Run optimizing compilation in background") \ | 45 "Run optimizing compilation in background") \ |
| 46 R(background_compilation_stop_alot, false, bool, false, \ | 46 R(background_compilation_stop_alot, false, bool, false, \ |
| 47 "Stress test system: stop background compiler often.") \ | 47 "Stress test system: stop background compiler often.") \ |
| 48 P(background_finalization, bool, USING_MULTICORE, \ | 48 P(background_finalization, bool, false, \ |
| 49 "Run weak handle finalizers in background") \ | 49 "Run weak handle finalizers in background") \ |
| 50 R(break_at_isolate_spawn, false, bool, false, \ | 50 R(break_at_isolate_spawn, false, bool, false, \ |
| 51 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ | 51 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ |
| 52 C(collect_code, false, true, bool, true, \ | 52 C(collect_code, false, true, bool, true, \ |
| 53 "Attempt to GC infrequently used code.") \ | 53 "Attempt to GC infrequently used code.") \ |
| 54 P(collect_dynamic_function_names, bool, true, \ | 54 P(collect_dynamic_function_names, bool, true, \ |
| 55 "Collects all dynamic function names to identify unique targets") \ | 55 "Collects all dynamic function names to identify unique targets") \ |
| 56 R(concurrent_sweep, USING_MULTICORE, bool, USING_MULTICORE, \ | 56 R(concurrent_sweep, USING_MULTICORE, bool, USING_MULTICORE, \ |
| 57 "Concurrent sweep for old generation.") \ | 57 "Concurrent sweep for old generation.") \ |
| 58 R(dedup_instructions, true, bool, false, \ | 58 R(dedup_instructions, true, bool, false, \ |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ | 161 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ |
| 162 R(verify_after_gc, false, bool, false, \ | 162 R(verify_after_gc, false, bool, false, \ |
| 163 "Enables heap verification after GC.") \ | 163 "Enables heap verification after GC.") \ |
| 164 R(verify_before_gc, false, bool, false, \ | 164 R(verify_before_gc, false, bool, false, \ |
| 165 "Enables heap verification before GC.") \ | 165 "Enables heap verification before GC.") \ |
| 166 D(verify_gc_contains, bool, false, \ | 166 D(verify_gc_contains, bool, false, \ |
| 167 "Enables verification of address contains during GC.") \ | 167 "Enables verification of address contains during GC.") \ |
| 168 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 168 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
| 169 | 169 |
| 170 #endif // RUNTIME_VM_FLAG_LIST_H_ | 170 #endif // RUNTIME_VM_FLAG_LIST_H_ |
| OLD | NEW |