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

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

Issue 2995063002: [VM-GC] Add a flag to abort on allocation failure (Closed)
Patch Set: Explain flag use better Created 3 years, 4 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 | runtime/vm/pages.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 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
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
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698