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

Unified Diff: runtime/vm/flag_list.h

Issue 1667303002: - Move flags from heap.cc into the flag list. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/heap.h » ('j') | runtime/vm/weak_code.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flag_list.h
diff --git a/runtime/vm/flag_list.h b/runtime/vm/flag_list.h
index c25d5c80effab27b0bbcae7f681352f9d122d26f..5e0df280d9f3b1a8a2cc44f3304f614dd65694df 100644
--- a/runtime/vm/flag_list.h
+++ b/runtime/vm/flag_list.h
@@ -13,13 +13,36 @@
// enabled.
// * R elease flags: Generally available flags except when building product.
-#define FLAG_LIST(P, R, D) \
-R(disassemble, false, bool, false, "Disassemble dart code.") \
-R(disassemble_optimized, false, bool, false, "Disassemble optimized code.") \
-R(dump_symbol_stats, false, bool, false, "Dump symbol table statistics") \
-R(pretenure_all, false, bool, false, "Global pretenuring (for testing).") \
-D(trace_handles, bool, false, "Traces allocation of handles.") \
-D(trace_zones, bool, false, "Traces allocation sizes in the zone.") \
-P(verbose_gc, bool, false, "Enables verbose GC.") \
+#define FLAG_LIST(P, R, D) \
+R(disable_alloc_stubs_after_gc, false, bool, false, \
+ "Stress testing flag.") \
+R(disassemble, false, bool, false, \
+ "Disassemble dart code.") \
+R(disassemble_optimized, false, bool, false, \
+ "Disassemble optimized code.") \
+R(dump_symbol_stats, false, bool, false, \
+ "Dump symbol table statistics") \
+R(gc_at_alloc, false, bool, false, \
+ "GC at every allocation.") \
+P(new_gen_ext_limit, int, 64, \
+ "maximum total external size (MB) in new gen before triggering GC") \
+R(pretenure_all, false, bool, false, \
+ "Global pretenuring (for testing).") \
+P(pretenure_interval, int, 10, \
+ "Back off pretenuring after this many cycles.") \
+P(pretenure_threshold, int, 98, \
+ "Trigger pretenuring when this many percent are promoted.") \
+D(trace_handles, bool, false, \
+ "Traces allocation of handles.") \
+D(trace_zones, bool, false, \
+ "Traces allocation sizes in the zone.") \
+P(verbose_gc, bool, false, \
+ "Enables verbose GC.") \
+P(verbose_gc_hdr, int, 40, \
+ "Print verbose GC header interval.") \
+R(verify_after_gc, false, bool, false, \
+ "Enables heap verification after GC.") \
+R(verify_before_gc, false, bool, false, \
+ "Enables heap verification before GC.") \
#endif // VM_FLAG_LIST_H_
« no previous file with comments | « no previous file | runtime/vm/heap.h » ('j') | runtime/vm/weak_code.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698