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

Side by Side Diff: src/flag-definitions.h

Issue 794583003: Retain maps for several garbage collections (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 6 years 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 | « src/debug.cc ('k') | src/heap/mark-compact.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 "max size of a semi-space (in MBytes), the new space consists of two" 553 "max size of a semi-space (in MBytes), the new space consists of two"
554 "semi-spaces") 554 "semi-spaces")
555 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space") 555 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space")
556 DEFINE_BOOL(experimental_new_space_growth_heuristic, false, 556 DEFINE_BOOL(experimental_new_space_growth_heuristic, false,
557 "Grow the new space based on the percentage of survivors instead " 557 "Grow the new space based on the percentage of survivors instead "
558 "of their absolute value.") 558 "of their absolute value.")
559 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") 559 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)")
560 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") 560 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)")
561 DEFINE_BOOL(gc_global, false, "always perform global GCs") 561 DEFINE_BOOL(gc_global, false, "always perform global GCs")
562 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") 562 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations")
563 DEFINE_INT(retain_maps_for_n_gc, 1,
564 "keeps maps alive for <n> old space garbage collections")
563 DEFINE_BOOL(trace_gc, false, 565 DEFINE_BOOL(trace_gc, false,
564 "print one trace line following each garbage collection") 566 "print one trace line following each garbage collection")
565 DEFINE_BOOL(trace_gc_nvp, false, 567 DEFINE_BOOL(trace_gc_nvp, false,
566 "print one detailed trace line in name=value format " 568 "print one detailed trace line in name=value format "
567 "after each garbage collection") 569 "after each garbage collection")
568 DEFINE_BOOL(trace_gc_ignore_scavenger, false, 570 DEFINE_BOOL(trace_gc_ignore_scavenger, false,
569 "do not print trace line after scavenger collection") 571 "do not print trace line after scavenger collection")
570 DEFINE_BOOL(trace_idle_notification, false, 572 DEFINE_BOOL(trace_idle_notification, false,
571 "print one trace line following each idle notification") 573 "print one trace line following each idle notification")
572 DEFINE_BOOL(trace_idle_notification_verbose, false, 574 DEFINE_BOOL(trace_idle_notification_verbose, false,
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 #undef DEFINE_ALIAS_FLOAT 1001 #undef DEFINE_ALIAS_FLOAT
1000 #undef DEFINE_ALIAS_ARGS 1002 #undef DEFINE_ALIAS_ARGS
1001 1003
1002 #undef FLAG_MODE_DECLARE 1004 #undef FLAG_MODE_DECLARE
1003 #undef FLAG_MODE_DEFINE 1005 #undef FLAG_MODE_DEFINE
1004 #undef FLAG_MODE_DEFINE_DEFAULTS 1006 #undef FLAG_MODE_DEFINE_DEFAULTS
1005 #undef FLAG_MODE_META 1007 #undef FLAG_MODE_META
1006 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1008 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1007 1009
1008 #undef COMMA 1010 #undef COMMA
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/heap/mark-compact.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698