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

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

Issue 785593002: Shrink initial old generation size based on new space survival rate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/heap/gc-tracer.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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 DEFINE_INT(target_semi_space_size, 0, 550 DEFINE_INT(target_semi_space_size, 0,
551 "target size of a semi-space (in MBytes) before triggering a GC") 551 "target size of a semi-space (in MBytes) before triggering a GC")
552 DEFINE_INT(max_semi_space_size, 0, 552 DEFINE_INT(max_semi_space_size, 0,
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(initial_old_space_size, 0, "initial old space size (in Mbytes)")
560 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)") 561 DEFINE_INT(max_executable_size, 0, "max size of executable memory (in Mbytes)")
561 DEFINE_BOOL(gc_global, false, "always perform global GCs") 562 DEFINE_BOOL(gc_global, false, "always perform global GCs")
562 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations") 563 DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations")
563 DEFINE_BOOL(trace_gc, false, 564 DEFINE_BOOL(trace_gc, false,
564 "print one trace line following each garbage collection") 565 "print one trace line following each garbage collection")
565 DEFINE_BOOL(trace_gc_nvp, false, 566 DEFINE_BOOL(trace_gc_nvp, false,
566 "print one detailed trace line in name=value format " 567 "print one detailed trace line in name=value format "
567 "after each garbage collection") 568 "after each garbage collection")
568 DEFINE_BOOL(trace_gc_ignore_scavenger, false, 569 DEFINE_BOOL(trace_gc_ignore_scavenger, false,
569 "do not print trace line after scavenger collection") 570 "do not print trace line after scavenger collection")
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 #undef DEFINE_ALIAS_FLOAT 1000 #undef DEFINE_ALIAS_FLOAT
1000 #undef DEFINE_ALIAS_ARGS 1001 #undef DEFINE_ALIAS_ARGS
1001 1002
1002 #undef FLAG_MODE_DECLARE 1003 #undef FLAG_MODE_DECLARE
1003 #undef FLAG_MODE_DEFINE 1004 #undef FLAG_MODE_DEFINE
1004 #undef FLAG_MODE_DEFINE_DEFAULTS 1005 #undef FLAG_MODE_DEFINE_DEFAULTS
1005 #undef FLAG_MODE_META 1006 #undef FLAG_MODE_META
1006 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1007 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1007 1008
1008 #undef COMMA 1009 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/heap/gc-tracer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698