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

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

Issue 934773002: Add historgram for number of GC needed to collect a detached context. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Make tracking default, add tracing, and fix a bug. Created 5 years, 10 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 | « src/counters.h ('k') | src/isolate.cc » ('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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 "old code (required for code flushing)") 613 "old code (required for code flushing)")
614 DEFINE_BOOL(incremental_marking, true, "use incremental marking") 614 DEFINE_BOOL(incremental_marking, true, "use incremental marking")
615 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps") 615 DEFINE_BOOL(incremental_marking_steps, true, "do incremental marking steps")
616 DEFINE_BOOL(overapproximate_weak_closure, false, 616 DEFINE_BOOL(overapproximate_weak_closure, false,
617 "overapproximate weak closer to reduce atomic pause time") 617 "overapproximate weak closer to reduce atomic pause time")
618 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") 618 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping")
619 DEFINE_BOOL(trace_incremental_marking, false, 619 DEFINE_BOOL(trace_incremental_marking, false,
620 "trace progress of the incremental marking") 620 "trace progress of the incremental marking")
621 DEFINE_BOOL(track_gc_object_stats, false, 621 DEFINE_BOOL(track_gc_object_stats, false,
622 "track object counts and memory usage") 622 "track object counts and memory usage")
623 DEFINE_BOOL(track_detached_contexts, false, 623 DEFINE_BOOL(track_detached_contexts, true,
624 "track native contexts that are expected to be garbage collected") 624 "track native contexts that are expected to be garbage collected")
625 DEFINE_BOOL(trace_detached_contexts, false,
626 "trace native contexts that are expected to be garbage collected")
627 DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts)
625 #ifdef VERIFY_HEAP 628 #ifdef VERIFY_HEAP
626 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC") 629 DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC")
627 #endif 630 #endif
628 631
629 632
630 // heap-snapshot-generator.cc 633 // heap-snapshot-generator.cc
631 DEFINE_BOOL(heap_profiler_trace_objects, false, 634 DEFINE_BOOL(heap_profiler_trace_objects, false,
632 "Dump heap object allocations/movements/size_updates") 635 "Dump heap object allocations/movements/size_updates")
633 636
634 637
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 #undef DEFINE_ALIAS_FLOAT 1024 #undef DEFINE_ALIAS_FLOAT
1022 #undef DEFINE_ALIAS_ARGS 1025 #undef DEFINE_ALIAS_ARGS
1023 1026
1024 #undef FLAG_MODE_DECLARE 1027 #undef FLAG_MODE_DECLARE
1025 #undef FLAG_MODE_DEFINE 1028 #undef FLAG_MODE_DEFINE
1026 #undef FLAG_MODE_DEFINE_DEFAULTS 1029 #undef FLAG_MODE_DEFINE_DEFAULTS
1027 #undef FLAG_MODE_META 1030 #undef FLAG_MODE_META
1028 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1031 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1029 1032
1030 #undef COMMA 1033 #undef COMMA
OLDNEW
« no previous file with comments | « src/counters.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698