Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(885)

Side by Side Diff: runtime/vm/flag_list.h

Issue 1870153002: Turn background compilation on (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // List of all flags in the VM. 8 // List of all flags in the VM.
9 // Flags can be one of three categories: 9 // Flags can be one of three categories:
10 // * P roduct flags: Can be set in any of the deployment modes, including in 10 // * P roduct flags: Can be set in any of the deployment modes, including in
11 // production. 11 // production.
12 // * D ebug flags: Can only be set in debug VMs, which also have assertions 12 // * D ebug flags: Can only be set in debug VMs, which also have assertions
13 // enabled. 13 // enabled.
14 // * R elease flags: Generally available flags except when building product. 14 // * R elease flags: Generally available flags except when building product.
15 // * pre C ompile flags: Generally available flags except when building product 15 // * pre C ompile flags: Generally available flags except when building product
16 // or precompiled runtime. 16 // or precompiled runtime.
17 // 17 //
18 // Usage: 18 // Usage:
19 // P(name, type, default_value, comment) 19 // P(name, type, default_value, comment)
20 // D(name, type, default_value, comment) 20 // D(name, type, default_value, comment)
21 // R(name, product_value, type, default_value, comment) 21 // R(name, product_value, type, default_value, comment)
22 // C(name, precompiled_value, product_value, type, default_value, comment) 22 // C(name, precompiled_value, product_value, type, default_value, comment)
23 #define FLAG_LIST(P, R, D, C) \ 23 #define FLAG_LIST(P, R, D, C) \
24 P(allow_absolute_addresses, bool, true, \ 24 P(allow_absolute_addresses, bool, true, \
25 "Allow embedding absolute addresses in generated code.") \ 25 "Allow embedding absolute addresses in generated code.") \
26 P(always_megamorphic_calls, bool, false, \ 26 P(always_megamorphic_calls, bool, false, \
27 "Instance call always as megamorphic.") \ 27 "Instance call always as megamorphic.") \
28 C(background_compilation, false, false, bool, false, \ 28 C(background_compilation, false, true, bool, true, \
29 "Run optimizing compilation in background") \ 29 "Run optimizing compilation in background") \
30 R(break_at_isolate_spawn, false, bool, false, \ 30 R(break_at_isolate_spawn, false, bool, false, \
31 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ 31 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \
32 C(collect_code, false, true, bool, true, \ 32 C(collect_code, false, true, bool, true, \
33 "Attempt to GC infrequently used code.") \ 33 "Attempt to GC infrequently used code.") \
34 P(collect_dynamic_function_names, bool, false, \ 34 P(collect_dynamic_function_names, bool, false, \
35 "Collects all dynamic function names to identify unique targets") \ 35 "Collects all dynamic function names to identify unique targets") \
36 R(dedup_instructions, true, bool, false, \ 36 R(dedup_instructions, true, bool, false, \
37 "Canonicalize instructions when precompiling.") \ 37 "Canonicalize instructions when precompiling.") \
38 C(deoptimize_alot, false, false, bool, false, \ 38 C(deoptimize_alot, false, false, bool, false, \
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "Print verbose GC header interval.") \ 169 "Print verbose GC header interval.") \
170 R(verify_after_gc, false, bool, false, \ 170 R(verify_after_gc, false, bool, false, \
171 "Enables heap verification after GC.") \ 171 "Enables heap verification after GC.") \
172 R(verify_before_gc, false, bool, false, \ 172 R(verify_before_gc, false, bool, false, \
173 "Enables heap verification before GC.") \ 173 "Enables heap verification before GC.") \
174 D(verify_on_transition, bool, false, \ 174 D(verify_on_transition, bool, false, \
175 "Verify on dart <==> VM.") \ 175 "Verify on dart <==> VM.") \
176 176
177 177
178 #endif // VM_FLAG_LIST_H_ 178 #endif // VM_FLAG_LIST_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698