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

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

Issue 2459903003: [Tracing] Use TracingCategoryObserver in gc statistics (Closed)
Patch Set: update 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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") 740 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping")
741 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") 741 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction")
742 DEFINE_BOOL(parallel_pointer_update, true, 742 DEFINE_BOOL(parallel_pointer_update, true,
743 "use parallel pointer update during compaction") 743 "use parallel pointer update during compaction")
744 DEFINE_BOOL(trace_incremental_marking, false, 744 DEFINE_BOOL(trace_incremental_marking, false,
745 "trace progress of the incremental marking") 745 "trace progress of the incremental marking")
746 DEFINE_BOOL(track_gc_object_stats, false, 746 DEFINE_BOOL(track_gc_object_stats, false,
747 "track object counts and memory usage") 747 "track object counts and memory usage")
748 DEFINE_BOOL(trace_gc_object_stats, false, 748 DEFINE_BOOL(trace_gc_object_stats, false,
749 "trace object counts and memory usage") 749 "trace object counts and memory usage")
750 DEFINE_INT(gc_stats, 0, "Used by tracing internally to enable gc statistics")
Michael Lippautz 2016/11/02 09:25:08 Why int and not bool?
lpy 2016/11/03 04:48:22 We still want the flag be recognizable whether it'
750 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) 751 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats)
752 DEFINE_VALUE_IMPLICATION(track_gc_object_stats, gc_stats, 1)
753 DEFINE_VALUE_IMPLICATION(trace_gc_object_stats, gc_stats, 1)
751 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking) 754 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking)
752 DEFINE_BOOL(track_detached_contexts, true, 755 DEFINE_BOOL(track_detached_contexts, true,
753 "track native contexts that are expected to be garbage collected") 756 "track native contexts that are expected to be garbage collected")
754 DEFINE_BOOL(trace_detached_contexts, false, 757 DEFINE_BOOL(trace_detached_contexts, false,
755 "trace native contexts that are expected to be garbage collected") 758 "trace native contexts that are expected to be garbage collected")
756 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) 759 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts)
757 #ifdef VERIFY_HEAP 760 #ifdef VERIFY_HEAP
758 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") 761 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC")
759 #endif 762 #endif
760 DEFINE_BOOL(move_object_start, true, "enable moving of object starts") 763 DEFINE_BOOL(move_object_start, true, "enable moving of object starts")
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1226 #undef DEFINE_ALIAS_FLOAT 1229 #undef DEFINE_ALIAS_FLOAT
1227 #undef DEFINE_ALIAS_ARGS 1230 #undef DEFINE_ALIAS_ARGS
1228 1231
1229 #undef FLAG_MODE_DECLARE 1232 #undef FLAG_MODE_DECLARE
1230 #undef FLAG_MODE_DEFINE 1233 #undef FLAG_MODE_DEFINE
1231 #undef FLAG_MODE_DEFINE_DEFAULTS 1234 #undef FLAG_MODE_DEFINE_DEFAULTS
1232 #undef FLAG_MODE_META 1235 #undef FLAG_MODE_META
1233 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1236 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1234 1237
1235 #undef COMMA 1238 #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