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

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

Issue 2256983002: Temporary fix for OOM in precompilation with very large methods. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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/object.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 // 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 P(fields_may_be_reset, bool, false, \ 87 P(fields_may_be_reset, bool, false, \
88 "Don't optimize away static field initialization") \ 88 "Don't optimize away static field initialization") \
89 C(force_clone_compiler_objects, false, false, bool, false, \ 89 C(force_clone_compiler_objects, false, false, bool, false, \
90 "Force cloning of objects needed in compiler (ICData and Field).") \ 90 "Force cloning of objects needed in compiler (ICData and Field).") \
91 R(gc_at_alloc, false, bool, false, \ 91 R(gc_at_alloc, false, bool, false, \
92 "GC at every allocation.") \ 92 "GC at every allocation.") \
93 P(getter_setter_ratio, int, 13, \ 93 P(getter_setter_ratio, int, 13, \
94 "Ratio of getter/setter usage used for double field unboxing heuristics") \ 94 "Ratio of getter/setter usage used for double field unboxing heuristics") \
95 P(guess_icdata_cid, bool, true, \ 95 P(guess_icdata_cid, bool, true, \
96 "Artificially create type feedback for arithmetic etc. operations") \ 96 "Artificially create type feedback for arithmetic etc. operations") \
97 P(huge_method_cutoff_in_tokens, int, 20000, \
98 "Huge method cutoff in tokens: Disables optimizations for huge methods.") \
97 P(interpret_irregexp, bool, USING_DBC, \ 99 P(interpret_irregexp, bool, USING_DBC, \
98 "Use irregexp bytecode interpreter") \ 100 "Use irregexp bytecode interpreter") \
99 P(lazy_dispatchers, bool, true, \ 101 P(lazy_dispatchers, bool, true, \
100 "Generate dispatchers lazily") \ 102 "Generate dispatchers lazily") \
101 P(link_natives_lazily, bool, false, \ 103 P(link_natives_lazily, bool, false, \
102 "Link native calls lazily") \ 104 "Link native calls lazily") \
103 C(load_deferred_eagerly, true, true, bool, false, \ 105 C(load_deferred_eagerly, true, true, bool, false, \
104 "Load deferred libraries eagerly.") \ 106 "Load deferred libraries eagerly.") \
105 R(log_marker_tasks, false, bool, false, \ 107 R(log_marker_tasks, false, bool, false, \
106 "Log debugging information for old gen GC marking tasks.") \ 108 "Log debugging information for old gen GC marking tasks.") \
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 P(verbose_gc_hdr, int, 40, \ 195 P(verbose_gc_hdr, int, 40, \
194 "Print verbose GC header interval.") \ 196 "Print verbose GC header interval.") \
195 R(verify_after_gc, false, bool, false, \ 197 R(verify_after_gc, false, bool, false, \
196 "Enables heap verification after GC.") \ 198 "Enables heap verification after GC.") \
197 R(verify_before_gc, false, bool, false, \ 199 R(verify_before_gc, false, bool, false, \
198 "Enables heap verification before GC.") \ 200 "Enables heap verification before GC.") \
199 D(verify_on_transition, bool, false, \ 201 D(verify_on_transition, bool, false, \
200 "Verify on dart <==> VM.") \ 202 "Verify on dart <==> VM.") \
201 203
202 #endif // VM_FLAG_LIST_H_ 204 #endif // VM_FLAG_LIST_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698