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

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

Issue 1094613002: Add a flag to trace heap object stats on GC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 DEFINE_INT(min_progress_during_object_groups_marking, 128, 619 DEFINE_INT(min_progress_during_object_groups_marking, 128,
620 "keep overapproximating the weak closure as long as we discover at " 620 "keep overapproximating the weak closure as long as we discover at "
621 "least this many unmarked objects") 621 "least this many unmarked objects")
622 DEFINE_INT(max_object_groups_marking_rounds, 3, 622 DEFINE_INT(max_object_groups_marking_rounds, 3,
623 "at most try this many times to over approximate the weak closure") 623 "at most try this many times to over approximate the weak closure")
624 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") 624 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping")
625 DEFINE_BOOL(trace_incremental_marking, false, 625 DEFINE_BOOL(trace_incremental_marking, false,
626 "trace progress of the incremental marking") 626 "trace progress of the incremental marking")
627 DEFINE_BOOL(track_gc_object_stats, false, 627 DEFINE_BOOL(track_gc_object_stats, false,
628 "track object counts and memory usage") 628 "track object counts and memory usage")
629 DEFINE_BOOL(trace_gc_object_stats, false,
630 "trace object counts and memory usage")
631 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats)
629 DEFINE_BOOL(track_detached_contexts, true, 632 DEFINE_BOOL(track_detached_contexts, true,
630 "track native contexts that are expected to be garbage collected") 633 "track native contexts that are expected to be garbage collected")
631 DEFINE_BOOL(trace_detached_contexts, false, 634 DEFINE_BOOL(trace_detached_contexts, false,
632 "trace native contexts that are expected to be garbage collected") 635 "trace native contexts that are expected to be garbage collected")
633 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts) 636 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts)
634 #ifdef VERIFY_HEAP 637 #ifdef VERIFY_HEAP
635 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") 638 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC")
636 #endif 639 #endif
637 640
638 641
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 #undef DEFINE_ALIAS_FLOAT 1049 #undef DEFINE_ALIAS_FLOAT
1047 #undef DEFINE_ALIAS_ARGS 1050 #undef DEFINE_ALIAS_ARGS
1048 1051
1049 #undef FLAG_MODE_DECLARE 1052 #undef FLAG_MODE_DECLARE
1050 #undef FLAG_MODE_DEFINE 1053 #undef FLAG_MODE_DEFINE
1051 #undef FLAG_MODE_DEFINE_DEFAULTS 1054 #undef FLAG_MODE_DEFINE_DEFAULTS
1052 #undef FLAG_MODE_META 1055 #undef FLAG_MODE_META
1053 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1056 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1054 1057
1055 #undef COMMA 1058 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698