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

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

Issue 1997363002: Adds support for collecting statistics about code and its metadata. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed a compile time error on the windows bots. Created 4 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
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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) 731 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts)
732 #ifdef VERIFY_HEAP 732 #ifdef VERIFY_HEAP
733 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") 733 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC")
734 #endif 734 #endif
735 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") 735 DEFINE_BOOL(move_object_start, true, "enable moving of object starts")
736 DEFINE_BOOL(memory_reducer, true, "use memory reducer") 736 DEFINE_BOOL(memory_reducer, true, "use memory reducer")
737 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, true, 737 DEFINE_BOOL(scavenge_reclaim_unmodified_objects, true,
738 "remove unmodified and unreferenced objects") 738 "remove unmodified and unreferenced objects")
739 DEFINE_INT(heap_growing_percent, 0, 739 DEFINE_INT(heap_growing_percent, 0,
740 "specifies heap growing factor as (1 + heap_growing_percent/100)") 740 "specifies heap growing factor as (1 + heap_growing_percent/100)")
741 DEFINE_BOOL(code_and_metadata_stats, false,
rmcilroy 2016/05/23 10:16:30 Do we need this flag? If this is only collected wh
mythria 2016/05/23 11:27:51 Yes, it collects code statistics only when request
742 "Enable collection of code+metadata statistics. code+metadata "
743 "statistics are only collected when requested through an API."
744 "Use --code-stats to dump statistics related to code.")
741 745
742 // counters.cc 746 // counters.cc
743 DEFINE_INT(histogram_interval, 600000, 747 DEFINE_INT(histogram_interval, 600000,
744 "time interval in ms for aggregating memory histograms") 748 "time interval in ms for aggregating memory histograms")
745 749
746 // global-handles.cc 750 // global-handles.cc
747 DEFINE_BOOL(trace_object_groups, false, 751 DEFINE_BOOL(trace_object_groups, false,
748 "print object groups detected during each garbage collection") 752 "print object groups detected during each garbage collection")
749 753
750 // heap-snapshot-generator.cc 754 // heap-snapshot-generator.cc
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 #undef DEFINE_ALIAS_FLOAT 1192 #undef DEFINE_ALIAS_FLOAT
1189 #undef DEFINE_ALIAS_ARGS 1193 #undef DEFINE_ALIAS_ARGS
1190 1194
1191 #undef FLAG_MODE_DECLARE 1195 #undef FLAG_MODE_DECLARE
1192 #undef FLAG_MODE_DEFINE 1196 #undef FLAG_MODE_DEFINE
1193 #undef FLAG_MODE_DEFINE_DEFAULTS 1197 #undef FLAG_MODE_DEFINE_DEFAULTS
1194 #undef FLAG_MODE_META 1198 #undef FLAG_MODE_META
1195 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1199 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1196 1200
1197 #undef COMMA 1201 #undef COMMA
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/heap/heap.h » ('j') | src/heap/spaces.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698