| 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 24 matching lines...) Expand all Loading... |
| 35 // enabled. | 35 // enabled. |
| 36 // * pre C ompile flags: Generally available flags except when building product | 36 // * pre C ompile flags: Generally available flags except when building product |
| 37 // or precompiled runtime. | 37 // or precompiled runtime. |
| 38 // | 38 // |
| 39 // Usage: | 39 // Usage: |
| 40 // P(name, type, default_value, comment) | 40 // P(name, type, default_value, comment) |
| 41 // R(name, product_value, type, default_value, comment) | 41 // R(name, product_value, type, default_value, comment) |
| 42 // D(name, type, default_value, comment) | 42 // D(name, type, default_value, comment) |
| 43 // C(name, precompiled_value, product_value, type, default_value, comment) | 43 // C(name, precompiled_value, product_value, type, default_value, comment) |
| 44 #define FLAG_LIST(P, R, D, C) \ | 44 #define FLAG_LIST(P, R, D, C) \ |
| 45 P(abort_on_oom, bool, false, \ |
| 46 "Abort if memory allocation fails - use only with --old-gen-heap-size") \ |
| 45 P(background_compilation, bool, USING_MULTICORE, \ | 47 P(background_compilation, bool, USING_MULTICORE, \ |
| 46 "Run optimizing compilation in background") \ | 48 "Run optimizing compilation in background") \ |
| 47 R(background_compilation_stop_alot, false, bool, false, \ | 49 R(background_compilation_stop_alot, false, bool, false, \ |
| 48 "Stress test system: stop background compiler often.") \ | 50 "Stress test system: stop background compiler often.") \ |
| 49 R(break_at_isolate_spawn, false, bool, false, \ | 51 R(break_at_isolate_spawn, false, bool, false, \ |
| 50 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ | 52 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ |
| 51 C(collect_code, false, true, bool, true, \ | 53 C(collect_code, false, true, bool, true, \ |
| 52 "Attempt to GC infrequently used code.") \ | 54 "Attempt to GC infrequently used code.") \ |
| 53 P(collect_dynamic_function_names, bool, true, \ | 55 P(collect_dynamic_function_names, bool, true, \ |
| 54 "Collects all dynamic function names to identify unique targets") \ | 56 "Collects all dynamic function names to identify unique targets") \ |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 R(verbose_gc_hdr, 40, int, 40, "Print verbose GC header interval.") \ | 175 R(verbose_gc_hdr, 40, int, 40, "Print verbose GC header interval.") \ |
| 174 R(verify_after_gc, false, bool, false, \ | 176 R(verify_after_gc, false, bool, false, \ |
| 175 "Enables heap verification after GC.") \ | 177 "Enables heap verification after GC.") \ |
| 176 R(verify_before_gc, false, bool, false, \ | 178 R(verify_before_gc, false, bool, false, \ |
| 177 "Enables heap verification before GC.") \ | 179 "Enables heap verification before GC.") \ |
| 178 D(verify_gc_contains, bool, false, \ | 180 D(verify_gc_contains, bool, false, \ |
| 179 "Enables verification of address contains during GC.") \ | 181 "Enables verification of address contains during GC.") \ |
| 180 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") | 182 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") |
| 181 | 183 |
| 182 #endif // RUNTIME_VM_FLAG_LIST_H_ | 184 #endif // RUNTIME_VM_FLAG_LIST_H_ |
| OLD | NEW |