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

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

Issue 1375853005: Add a flag for memory reducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | src/heap/memory-reducer.cc » ('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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) 669 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats)
670 DEFINE_BOOL(track_detached_contexts, true, 670 DEFINE_BOOL(track_detached_contexts, true,
671 "track native contexts that are expected to be garbage collected") 671 "track native contexts that are expected to be garbage collected")
672 DEFINE_BOOL(trace_detached_contexts, false, 672 DEFINE_BOOL(trace_detached_contexts, false,
673 "trace native contexts that are expected to be garbage collected") 673 "trace native contexts that are expected to be garbage collected")
674 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) 674 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts)
675 #ifdef VERIFY_HEAP 675 #ifdef VERIFY_HEAP
676 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") 676 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC")
677 #endif 677 #endif
678 DEFINE_BOOL(move_object_start, false, "enable moving of object starts") 678 DEFINE_BOOL(move_object_start, false, "enable moving of object starts")
679 DEFINE_BOOL(memory_reducer, true, "use memory reducer")
679 680
680 // counters.cc 681 // counters.cc
681 DEFINE_INT(histogram_interval, 600000, 682 DEFINE_INT(histogram_interval, 600000,
682 "time interval in ms for aggregating memory histograms") 683 "time interval in ms for aggregating memory histograms")
683 684
684 685
685 // heap-snapshot-generator.cc 686 // heap-snapshot-generator.cc
686 DEFINE_BOOL(heap_profiler_trace_objects, false, 687 DEFINE_BOOL(heap_profiler_trace_objects, false,
687 "Dump heap object allocations/movements/size_updates") 688 "Dump heap object allocations/movements/size_updates")
688 689
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 #undef DEFINE_ALIAS_FLOAT 1101 #undef DEFINE_ALIAS_FLOAT
1101 #undef DEFINE_ALIAS_ARGS 1102 #undef DEFINE_ALIAS_ARGS
1102 1103
1103 #undef FLAG_MODE_DECLARE 1104 #undef FLAG_MODE_DECLARE
1104 #undef FLAG_MODE_DEFINE 1105 #undef FLAG_MODE_DEFINE
1105 #undef FLAG_MODE_DEFINE_DEFAULTS 1106 #undef FLAG_MODE_DEFINE_DEFAULTS
1106 #undef FLAG_MODE_META 1107 #undef FLAG_MODE_META
1107 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1108 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1108 1109
1109 #undef COMMA 1110 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/heap/memory-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698