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

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

Issue 2459903003: [Tracing] Use TracingCategoryObserver in gc statistics (Closed)
Patch Set: rebase Created 4 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 | « src/d8.cc ('k') | 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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") 734 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping")
735 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") 735 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction")
736 DEFINE_BOOL(parallel_pointer_update, true, 736 DEFINE_BOOL(parallel_pointer_update, true,
737 "use parallel pointer update during compaction") 737 "use parallel pointer update during compaction")
738 DEFINE_BOOL(trace_incremental_marking, false, 738 DEFINE_BOOL(trace_incremental_marking, false,
739 "trace progress of the incremental marking") 739 "trace progress of the incremental marking")
740 DEFINE_BOOL(track_gc_object_stats, false, 740 DEFINE_BOOL(track_gc_object_stats, false,
741 "track object counts and memory usage") 741 "track object counts and memory usage")
742 DEFINE_BOOL(trace_gc_object_stats, false, 742 DEFINE_BOOL(trace_gc_object_stats, false,
743 "trace object counts and memory usage") 743 "trace object counts and memory usage")
744 DEFINE_INT(gc_stats, 0, "Used by tracing internally to enable gc statistics")
744 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) 745 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats)
746 DEFINE_VALUE_IMPLICATION(track_gc_object_stats, gc_stats, 1)
747 DEFINE_VALUE_IMPLICATION(trace_gc_object_stats, gc_stats, 1)
745 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking) 748 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking)
746 DEFINE_BOOL(track_detached_contexts, true, 749 DEFINE_BOOL(track_detached_contexts, true,
747 "track native contexts that are expected to be garbage collected") 750 "track native contexts that are expected to be garbage collected")
748 DEFINE_BOOL(trace_detached_contexts, false, 751 DEFINE_BOOL(trace_detached_contexts, false,
749 "trace native contexts that are expected to be garbage collected") 752 "trace native contexts that are expected to be garbage collected")
750 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) 753 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts)
751 #ifdef VERIFY_HEAP 754 #ifdef VERIFY_HEAP
752 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") 755 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC")
753 #endif 756 #endif
754 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") 757 DEFINE_BOOL(move_object_start, true, "enable moving of object starts")
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 #undef DEFINE_ALIAS_FLOAT 1223 #undef DEFINE_ALIAS_FLOAT
1221 #undef DEFINE_ALIAS_ARGS 1224 #undef DEFINE_ALIAS_ARGS
1222 1225
1223 #undef FLAG_MODE_DECLARE 1226 #undef FLAG_MODE_DECLARE
1224 #undef FLAG_MODE_DEFINE 1227 #undef FLAG_MODE_DEFINE
1225 #undef FLAG_MODE_DEFINE_DEFAULTS 1228 #undef FLAG_MODE_DEFINE_DEFAULTS
1226 #undef FLAG_MODE_META 1229 #undef FLAG_MODE_META
1227 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1230 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1228 1231
1229 #undef COMMA 1232 #undef COMMA
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698