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

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

Issue 753543002: Introduce a new growth criterion for the new space behind a flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 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 | « no previous file | src/heap/heap.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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 // heap.cc 524 // heap.cc
525 DEFINE_INT(min_semi_space_size, 0, 525 DEFINE_INT(min_semi_space_size, 0,
526 "min size of a semi-space (in MBytes), the new space consists of two" 526 "min size of a semi-space (in MBytes), the new space consists of two"
527 "semi-spaces") 527 "semi-spaces")
528 DEFINE_INT(target_semi_space_size, 0, 528 DEFINE_INT(target_semi_space_size, 0,
529 "target size of a semi-space (in MBytes) before triggering a GC") 529 "target size of a semi-space (in MBytes) before triggering a GC")
530 DEFINE_INT(max_semi_space_size, 0, 530 DEFINE_INT(max_semi_space_size, 0,
531 "max size of a semi-space (in MBytes), the new space consists of two" 531 "max size of a semi-space (in MBytes), the new space consists of two"
532 "semi-spaces") 532 "semi-spaces")
533 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space") 533 DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space")
534 DEFINE_BOOL(experimental_new_space_growth_heuristic, false,
535 "Grow the new space based on the percentage of survivors instead "
536 "of their absolute value.")
534 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)") 537 DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)")
535 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") 538 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)")
536 DEFINE_BOOL(gc_global, false, "always perform global GCs") 539 DEFINE_BOOL(gc_global, false, "always perform global GCs")
537 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") 540 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations")
538 DEFINE_BOOL(trace_gc, false, 541 DEFINE_BOOL(trace_gc, false,
539 "print one trace line following each garbage collection") 542 "print one trace line following each garbage collection")
540 DEFINE_BOOL(trace_gc_nvp, false, 543 DEFINE_BOOL(trace_gc_nvp, false,
541 "print one detailed trace line in name=value format " 544 "print one detailed trace line in name=value format "
542 "after each garbage collection") 545 "after each garbage collection")
543 DEFINE_BOOL(trace_gc_ignore_scavenger, false, 546 DEFINE_BOOL(trace_gc_ignore_scavenger, false,
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 #undef DEFINE_ALIAS_FLOAT 983 #undef DEFINE_ALIAS_FLOAT
981 #undef DEFINE_ALIAS_ARGS 984 #undef DEFINE_ALIAS_ARGS
982 985
983 #undef FLAG_MODE_DECLARE 986 #undef FLAG_MODE_DECLARE
984 #undef FLAG_MODE_DEFINE 987 #undef FLAG_MODE_DEFINE
985 #undef FLAG_MODE_DEFINE_DEFAULTS 988 #undef FLAG_MODE_DEFINE_DEFAULTS
986 #undef FLAG_MODE_META 989 #undef FLAG_MODE_META
987 #undef FLAG_MODE_DEFINE_IMPLICATIONS 990 #undef FLAG_MODE_DEFINE_IMPLICATIONS
988 991
989 #undef COMMA 992 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698