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

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

Issue 2504663003: Move printing snapshot sizes behind a flag. (Closed)
Patch Set: Created 4 years, 1 month 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/clustered_snapshot.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
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 "e.g: --old_gen_heap_size=1024 allows up to 1024MB old gen heap") \ 115 "e.g: --old_gen_heap_size=1024 allows up to 1024MB old gen heap") \
116 R(pause_isolates_on_start, false, bool, false, \ 116 R(pause_isolates_on_start, false, bool, false, \
117 "Pause isolates before starting.") \ 117 "Pause isolates before starting.") \
118 R(pause_isolates_on_exit, false, bool, false, "Pause isolates exiting.") \ 118 R(pause_isolates_on_exit, false, bool, false, "Pause isolates exiting.") \
119 R(pause_isolates_on_unhandled_exceptions, false, bool, false, \ 119 R(pause_isolates_on_unhandled_exceptions, false, bool, false, \
120 "Pause isolates on unhandled exceptions.") \ 120 "Pause isolates on unhandled exceptions.") \
121 P(polymorphic_with_deopt, bool, true, \ 121 P(polymorphic_with_deopt, bool, true, \
122 "Polymorphic calls with deoptimization / megamorphic call") \ 122 "Polymorphic calls with deoptimization / megamorphic call") \
123 P(precompiled_mode, bool, false, "Precompilation compiler mode") \ 123 P(precompiled_mode, bool, false, "Precompilation compiler mode") \
124 C(precompiled_runtime, true, false, bool, false, "Precompiled runtime mode") \ 124 C(precompiled_runtime, true, false, bool, false, "Precompiled runtime mode") \
125 R(print_snapshot_sizes, false, bool, false, \
126 "Print sizes of generated snapshots.") \
125 R(print_ssa_liveranges, false, bool, false, \ 127 R(print_ssa_liveranges, false, bool, false, \
126 "Print live ranges after allocation.") \ 128 "Print live ranges after allocation.") \
127 C(print_stop_message, false, false, bool, false, "Print stop message.") \ 129 C(print_stop_message, false, false, bool, false, "Print stop message.") \
128 D(print_variable_descriptors, bool, false, \ 130 D(print_variable_descriptors, bool, false, \
129 "Print variable descriptors in disassembly.") \ 131 "Print variable descriptors in disassembly.") \
130 R(profiler, false, bool, !USING_DBC && !USING_FUCHSIA, \ 132 R(profiler, false, bool, !USING_DBC && !USING_FUCHSIA, \
131 "Enable the profiler.") \ 133 "Enable the profiler.") \
132 P(reorder_basic_blocks, bool, true, "Reorder basic blocks") \ 134 P(reorder_basic_blocks, bool, true, "Reorder basic blocks") \
133 R(support_ast_printer, false, bool, true, "Support the AST printer.") \ 135 R(support_ast_printer, false, bool, true, "Support the AST printer.") \
134 R(support_compiler_stats, false, bool, true, "Support compiler stats.") \ 136 R(support_compiler_stats, false, bool, true, "Support compiler stats.") \
(...skipping 22 matching lines...) Expand all
157 C(use_osr, false, true, bool, true, "Use OSR") \ 159 C(use_osr, false, true, bool, true, "Use OSR") \
158 P(verbose_gc, bool, false, "Enables verbose GC.") \ 160 P(verbose_gc, bool, false, "Enables verbose GC.") \
159 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ 161 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \
160 R(verify_after_gc, false, bool, false, \ 162 R(verify_after_gc, false, bool, false, \
161 "Enables heap verification after GC.") \ 163 "Enables heap verification after GC.") \
162 R(verify_before_gc, false, bool, false, \ 164 R(verify_before_gc, false, bool, false, \
163 "Enables heap verification before GC.") \ 165 "Enables heap verification before GC.") \
164 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") 166 D(verify_on_transition, bool, false, "Verify on dart <==> VM.")
165 167
166 #endif // RUNTIME_VM_FLAG_LIST_H_ 168 #endif // RUNTIME_VM_FLAG_LIST_H_
OLDNEW
« no previous file with comments | « runtime/vm/clustered_snapshot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698