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

Side by Side Diff: src/heap/gc-tracer.h

Issue 2486173002: [api] Remove marking persistents as partially dependent (Closed)
Patch Set: Addressed comments 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/global-handles.cc ('k') | src/heap/gc-tracer.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_HEAP_GC_TRACER_H_ 5 #ifndef V8_HEAP_GC_TRACER_H_
6 #define V8_HEAP_GC_TRACER_H_ 6 #define V8_HEAP_GC_TRACER_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/base/platform/platform.h" 9 #include "src/base/platform/platform.h"
10 #include "src/base/ring-buffer.h" 10 #include "src/base/ring-buffer.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 F(MC_MARK_WRAPPER_EPILOGUE) \ 73 F(MC_MARK_WRAPPER_EPILOGUE) \
74 F(MC_MARK_WRAPPER_PROLOGUE) \ 74 F(MC_MARK_WRAPPER_PROLOGUE) \
75 F(MC_MARK_WRAPPER_TRACING) \ 75 F(MC_MARK_WRAPPER_TRACING) \
76 F(MC_MARK_OBJECT_GROUPING) \ 76 F(MC_MARK_OBJECT_GROUPING) \
77 F(MC_PROLOGUE) \ 77 F(MC_PROLOGUE) \
78 F(MC_SWEEP) \ 78 F(MC_SWEEP) \
79 F(MC_SWEEP_CODE) \ 79 F(MC_SWEEP_CODE) \
80 F(MC_SWEEP_MAP) \ 80 F(MC_SWEEP_MAP) \
81 F(MC_SWEEP_OLD) \ 81 F(MC_SWEEP_OLD) \
82 F(SCAVENGER_CODE_FLUSH_CANDIDATES) \ 82 F(SCAVENGER_CODE_FLUSH_CANDIDATES) \
83 F(SCAVENGER_OBJECT_GROUPS) \
84 F(SCAVENGER_OLD_TO_NEW_POINTERS) \ 83 F(SCAVENGER_OLD_TO_NEW_POINTERS) \
85 F(SCAVENGER_ROOTS) \ 84 F(SCAVENGER_ROOTS) \
86 F(SCAVENGER_SCAVENGE) \ 85 F(SCAVENGER_SCAVENGE) \
87 F(SCAVENGER_SEMISPACE) \ 86 F(SCAVENGER_SEMISPACE) \
88 F(SCAVENGER_WEAK) 87 F(SCAVENGER_WEAK)
89 88
90 #define TRACE_GC(tracer, scope_id) \ 89 #define TRACE_GC(tracer, scope_id) \
91 GCTracer::Scope::ScopeId gc_tracer_scope_id(scope_id); \ 90 GCTracer::Scope::ScopeId gc_tracer_scope_id(scope_id); \
92 GCTracer::Scope gc_tracer_scope(tracer, gc_tracer_scope_id); \ 91 GCTracer::Scope gc_tracer_scope(tracer, gc_tracer_scope_id); \
93 TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8.gc"), \ 92 TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8.gc"), \
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 base::RingBuffer<BytesAndDuration> recorded_old_generation_allocations_; 422 base::RingBuffer<BytesAndDuration> recorded_old_generation_allocations_;
424 base::RingBuffer<double> recorded_context_disposal_times_; 423 base::RingBuffer<double> recorded_context_disposal_times_;
425 base::RingBuffer<double> recorded_survival_ratios_; 424 base::RingBuffer<double> recorded_survival_ratios_;
426 425
427 DISALLOW_COPY_AND_ASSIGN(GCTracer); 426 DISALLOW_COPY_AND_ASSIGN(GCTracer);
428 }; 427 };
429 } // namespace internal 428 } // namespace internal
430 } // namespace v8 429 } // namespace v8
431 430
432 #endif // V8_HEAP_GC_TRACER_H_ 431 #endif // V8_HEAP_GC_TRACER_H_
OLDNEW
« no previous file with comments | « src/global-handles.cc ('k') | src/heap/gc-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698