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

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

Issue 1879033002: Print messages when aborting background compilation (--trace-compiler); turn on background compilat… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add timeline info 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 | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 "Print verbose GC header interval.") \ 171 "Print verbose GC header interval.") \
172 R(verify_after_gc, false, bool, false, \ 172 R(verify_after_gc, false, bool, false, \
173 "Enables heap verification after GC.") \ 173 "Enables heap verification after GC.") \
174 R(verify_before_gc, false, bool, false, \ 174 R(verify_before_gc, false, bool, false, \
175 "Enables heap verification before GC.") \ 175 "Enables heap verification before GC.") \
176 D(verify_on_transition, bool, false, \ 176 D(verify_on_transition, bool, false, \
177 "Verify on dart <==> VM.") \ 177 "Verify on dart <==> VM.") \
178 178
179 179
180 #endif // VM_FLAG_LIST_H_ 180 #endif // VM_FLAG_LIST_H_
OLDNEW
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698