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

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

Issue 271843005: Simplify ConfigureHeap and change --max_new_space_size to --max_semi_space_size. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/api.cc ('k') | src/heap.h » ('j') | src/heap.cc » ('J')
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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 456
457 // frames.cc 457 // frames.cc
458 DEFINE_int(max_stack_trace_source_length, 300, 458 DEFINE_int(max_stack_trace_source_length, 300,
459 "maximum length of function source code printed in a stack trace.") 459 "maximum length of function source code printed in a stack trace.")
460 460
461 // full-codegen.cc 461 // full-codegen.cc
462 DEFINE_bool(always_inline_smi_code, false, 462 DEFINE_bool(always_inline_smi_code, false,
463 "always inline smi code in non-opt code") 463 "always inline smi code in non-opt code")
464 464
465 // heap.cc 465 // heap.cc
466 DEFINE_int(max_new_space_size, 0, 466 DEFINE_int(max_semi_space_size, 0,
467 "max size of the new space consisting of two semi-spaces which are half" 467 "max size of a semi-space (in MBytes), the new space consists of two"
468 "the size (in MBytes)") 468 "semi-spaces")
469 DEFINE_int(max_old_space_size, 0, "max size of the old space (in Mbytes)") 469 DEFINE_int(max_old_space_size, 0, "max size of the old space (in Mbytes)")
470 DEFINE_int(max_executable_size, 0, "max size of executable memory (in Mbytes)") 470 DEFINE_int(max_executable_size, 0, "max size of executable memory (in Mbytes)")
471 DEFINE_bool(gc_global, false, "always perform global GCs") 471 DEFINE_bool(gc_global, false, "always perform global GCs")
472 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") 472 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations")
473 DEFINE_bool(trace_gc, false, 473 DEFINE_bool(trace_gc, false,
474 "print one trace line following each garbage collection") 474 "print one trace line following each garbage collection")
475 DEFINE_bool(trace_gc_nvp, false, 475 DEFINE_bool(trace_gc_nvp, false,
476 "print one detailed trace line in name=value format " 476 "print one detailed trace line in name=value format "
477 "after each garbage collection") 477 "after each garbage collection")
478 DEFINE_bool(trace_gc_ignore_scavenger, false, 478 DEFINE_bool(trace_gc_ignore_scavenger, false,
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 #undef DEFINE_ALIAS_float 899 #undef DEFINE_ALIAS_float
900 #undef DEFINE_ALIAS_args 900 #undef DEFINE_ALIAS_args
901 901
902 #undef FLAG_MODE_DECLARE 902 #undef FLAG_MODE_DECLARE
903 #undef FLAG_MODE_DEFINE 903 #undef FLAG_MODE_DEFINE
904 #undef FLAG_MODE_DEFINE_DEFAULTS 904 #undef FLAG_MODE_DEFINE_DEFAULTS
905 #undef FLAG_MODE_META 905 #undef FLAG_MODE_META
906 #undef FLAG_MODE_DEFINE_IMPLICATIONS 906 #undef FLAG_MODE_DEFINE_IMPLICATIONS
907 907
908 #undef COMMA 908 #undef COMMA
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/heap.h » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698