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

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

Issue 2987873002: [fuchsia, arm64] Use mx_cache_flush instead of removed __clear_cache. (Closed)
Patch Set: 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
« runtime/vm/cpu_arm64.cc ('K') | « runtime/vm/cpu_arm64.cc ('k') | 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 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
11 #else 11 #else
12 #define USING_DBC false 12 #define USING_DBC false
13 #endif 13 #endif
14 14
15 // Don't use USING_MULTICORE outside of this file. 15 // Don't use USING_MULTICORE outside of this file.
16 #if defined(ARCH_IS_MULTI_CORE) 16 #if defined(ARCH_IS_MULTI_CORE)
17 #define USING_MULTICORE true 17 #define USING_MULTICORE true
18 #else 18 #else
19 #define USING_MULTICORE false 19 #define USING_MULTICORE false
20 #endif 20 #endif
21 21
22 // Don't use USING_PRODUCT outside of this file. 22 // Don't use USING_PRODUCT outside of this file.
23 #if defined(PRODUCT) 23 #if defined(PRODUCT)
24 #define USING_PRODUCT true 24 #define USING_PRODUCT true
25 #else 25 #else
26 #define USING_PRODUCT false 26 #define USING_PRODUCT false
27 #endif 27 #endif
28 28
29 // Don't use USING_FUCHSIA outside of this file.
30 #if defined(HOST_OS_FUCHSIA)
31 #define USING_FUCHSIA true
32 #else
33 #define USING_FUCHSIA false
34 #endif
35
29 // List of all flags in the VM. 36 // List of all flags in the VM.
30 // Flags can be one of three categories: 37 // Flags can be one of three categories:
31 // * P roduct flags: Can be set in any of the deployment modes, including in 38 // * P roduct flags: Can be set in any of the deployment modes, including in
32 // production. 39 // production.
33 // * R elease flags: Generally available flags except when building product. 40 // * R elease flags: Generally available flags except when building product.
34 // * D ebug flags: Can only be set in debug VMs, which also have C++ assertions 41 // * D ebug flags: Can only be set in debug VMs, which also have C++ assertions
35 // enabled. 42 // enabled.
36 // * pre C ompile flags: Generally available flags except when building product 43 // * pre C ompile flags: Generally available flags except when building product
37 // or precompiled runtime. 44 // or precompiled runtime.
38 // 45 //
39 // Usage: 46 // Usage:
40 // P(name, type, default_value, comment) 47 // P(name, type, default_value, comment)
41 // R(name, product_value, type, default_value, comment) 48 // R(name, product_value, type, default_value, comment)
42 // D(name, type, default_value, comment) 49 // D(name, type, default_value, comment)
43 // C(name, precompiled_value, product_value, type, default_value, comment) 50 // C(name, precompiled_value, product_value, type, default_value, comment)
44 #define FLAG_LIST(P, R, D, C) \ 51 #define FLAG_LIST(P, R, D, C) \
45 P(background_compilation, bool, USING_MULTICORE, \ 52 P(background_compilation, bool, USING_MULTICORE, \
46 "Run optimizing compilation in background") \ 53 "Run optimizing compilation in background") \
47 R(background_compilation_stop_alot, false, bool, false, \ 54 R(background_compilation_stop_alot, false, bool, false, \
48 "Stress test system: stop background compiler often.") \ 55 "Stress test system: stop background compiler often.") \
49 R(break_at_isolate_spawn, false, bool, false, \ 56 R(break_at_isolate_spawn, false, bool, false, \
50 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \ 57 "Insert a one-time breakpoint at the entrypoint for all spawned isolates") \
51 C(collect_code, false, true, bool, true, \ 58 C(collect_code, false, !USING_FUCHSIA, bool, !USING_FUCHSIA, \
52 "Attempt to GC infrequently used code.") \ 59 "Attempt to GC infrequently used code.") \
53 P(collect_dynamic_function_names, bool, true, \ 60 P(collect_dynamic_function_names, bool, true, \
54 "Collects all dynamic function names to identify unique targets") \ 61 "Collects all dynamic function names to identify unique targets") \
55 R(concurrent_sweep, USING_MULTICORE, bool, USING_MULTICORE, \ 62 R(concurrent_sweep, USING_MULTICORE, bool, USING_MULTICORE, \
56 "Concurrent sweep for old generation.") \ 63 "Concurrent sweep for old generation.") \
57 R(dedup_instructions, true, bool, false, \ 64 R(dedup_instructions, true, bool, false, \
58 "Canonicalize instructions when precompiling.") \ 65 "Canonicalize instructions when precompiling.") \
59 C(deoptimize_alot, false, false, bool, false, \ 66 C(deoptimize_alot, false, false, bool, false, \
60 "Deoptimizes we are about to return to Dart code from native entries.") \ 67 "Deoptimizes we are about to return to Dart code from native entries.") \
61 C(deoptimize_every, 0, 0, int, 0, \ 68 C(deoptimize_every, 0, 0, int, 0, \
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ 181 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \
175 R(verify_after_gc, false, bool, false, \ 182 R(verify_after_gc, false, bool, false, \
176 "Enables heap verification after GC.") \ 183 "Enables heap verification after GC.") \
177 R(verify_before_gc, false, bool, false, \ 184 R(verify_before_gc, false, bool, false, \
178 "Enables heap verification before GC.") \ 185 "Enables heap verification before GC.") \
179 D(verify_gc_contains, bool, false, \ 186 D(verify_gc_contains, bool, false, \
180 "Enables verification of address contains during GC.") \ 187 "Enables verification of address contains during GC.") \
181 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") 188 D(verify_on_transition, bool, false, "Verify on dart <==> VM.")
182 189
183 #endif // RUNTIME_VM_FLAG_LIST_H_ 190 #endif // RUNTIME_VM_FLAG_LIST_H_
OLDNEW
« runtime/vm/cpu_arm64.cc ('K') | « runtime/vm/cpu_arm64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698