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

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

Issue 2477143002: Revert of [Tracing] Use TracingCategoryObserver in gc statistics (Closed)
Patch Set: 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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") 737 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping")
738 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") 738 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction")
739 DEFINE_BOOL(parallel_pointer_update, true, 739 DEFINE_BOOL(parallel_pointer_update, true,
740 "use parallel pointer update during compaction") 740 "use parallel pointer update during compaction")
741 DEFINE_BOOL(trace_incremental_marking, false, 741 DEFINE_BOOL(trace_incremental_marking, false,
742 "trace progress of the incremental marking") 742 "trace progress of the incremental marking")
743 DEFINE_BOOL(track_gc_object_stats, false, 743 DEFINE_BOOL(track_gc_object_stats, false,
744 "track object counts and memory usage") 744 "track object counts and memory usage")
745 DEFINE_BOOL(trace_gc_object_stats, false, 745 DEFINE_BOOL(trace_gc_object_stats, false,
746 "trace object counts and memory usage") 746 "trace object counts and memory usage")
747 DEFINE_INT(gc_stats, 0, "Used by tracing internally to enable gc statistics")
748 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) 747 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats)
749 DEFINE_VALUE_IMPLICATION(track_gc_object_stats, gc_stats, 1)
750 DEFINE_VALUE_IMPLICATION(trace_gc_object_stats, gc_stats, 1)
751 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking) 748 DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking)
752 DEFINE_BOOL(track_detached_contexts, true, 749 DEFINE_BOOL(track_detached_contexts, true,
753 "track native contexts that are expected to be garbage collected") 750 "track native contexts that are expected to be garbage collected")
754 DEFINE_BOOL(trace_detached_contexts, false, 751 DEFINE_BOOL(trace_detached_contexts, false,
755 "trace native contexts that are expected to be garbage collected") 752 "trace native contexts that are expected to be garbage collected")
756 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) 753 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts)
757 #ifdef VERIFY_HEAP 754 #ifdef VERIFY_HEAP
758 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")
759 #endif 756 #endif
760 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
1226 #undef DEFINE_ALIAS_FLOAT 1223 #undef DEFINE_ALIAS_FLOAT
1227 #undef DEFINE_ALIAS_ARGS 1224 #undef DEFINE_ALIAS_ARGS
1228 1225
1229 #undef FLAG_MODE_DECLARE 1226 #undef FLAG_MODE_DECLARE
1230 #undef FLAG_MODE_DEFINE 1227 #undef FLAG_MODE_DEFINE
1231 #undef FLAG_MODE_DEFINE_DEFAULTS 1228 #undef FLAG_MODE_DEFINE_DEFAULTS
1232 #undef FLAG_MODE_META 1229 #undef FLAG_MODE_META
1233 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1230 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1234 1231
1235 #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