| 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 23 matching lines...) Expand all Loading... |
| 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, \ | 38 P(always_megamorphic_calls, bool, false, \ |
| 39 "Instance call always as megamorphic.") \ | 39 "Instance call always as megamorphic.") \ |
| 40 P(background_compilation, bool, USING_MULTICORE, \ | 40 P(background_compilation, bool, USING_MULTICORE, \ |
| 41 "Run optimizing compilation in background") \ | 41 "Run optimizing compilation in background") \ |
| 42 R(background_compilation_stop_alot, false, bool, false, \ | 42 R(background_compilation_stop_alot, false, bool, false, \ |
| 43 "Stress test system: stop background compiler often.") \ | 43 "Stress test system: stop background compiler often.") \ |
| 44 P(background_finalization, bool, USING_MULTICORE, \ |
| 45 "Run weak handle finalizers in background") \ |
| 44 R(break_at_isolate_spawn, false, bool, false, \ | 46 R(break_at_isolate_spawn, false, bool, false, \ |
| 45 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ | 47 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ |
| 46 C(collect_code, false, true, bool, true, \ | 48 C(collect_code, false, true, bool, true, \ |
| 47 "Attempt to GC infrequently used code.") \ | 49 "Attempt to GC infrequently used code.") \ |
| 48 P(collect_dynamic_function_names, bool, true, \ | 50 P(collect_dynamic_function_names, bool, true, \ |
| 49 "Collects all dynamic function names to identify unique targets") \ | 51 "Collects all dynamic function names to identify unique targets") \ |
| 50 R(concurrent_sweep, USING_MULTICORE, bool, USING_MULTICORE, \ | 52 R(concurrent_sweep, USING_MULTICORE, bool, USING_MULTICORE, \ |
| 51 "Concurrent sweep for old generation.") \ | 53 "Concurrent sweep for old generation.") \ |
| 52 R(dedup_instructions, true, bool, false, \ | 54 R(dedup_instructions, true, bool, false, \ |
| 53 "Canonicalize instructions when precompiling.") \ | 55 "Canonicalize instructions when precompiling.") \ |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 P(verbose_gc_hdr, int, 40, \ | 197 P(verbose_gc_hdr, int, 40, \ |
| 196 "Print verbose GC header interval.") \ | 198 "Print verbose GC header interval.") \ |
| 197 R(verify_after_gc, false, bool, false, \ | 199 R(verify_after_gc, false, bool, false, \ |
| 198 "Enables heap verification after GC.") \ | 200 "Enables heap verification after GC.") \ |
| 199 R(verify_before_gc, false, bool, false, \ | 201 R(verify_before_gc, false, bool, false, \ |
| 200 "Enables heap verification before GC.") \ | 202 "Enables heap verification before GC.") \ |
| 201 D(verify_on_transition, bool, false, \ | 203 D(verify_on_transition, bool, false, \ |
| 202 "Verify on dart <==> VM.") \ | 204 "Verify on dart <==> VM.") \ |
| 203 | 205 |
| 204 #endif // VM_FLAG_LIST_H_ | 206 #endif // VM_FLAG_LIST_H_ |
| OLD | NEW |