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

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

Issue 437993003: Move a bunch of GC related files to heap/ subdirectory (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: make presubmit happy Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/heap-inl.h ('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_GC_TRACER_H_ 5 #ifndef V8_HEAP_GC_TRACER_H_
6 #define V8_GC_TRACER_H_ 6 #define V8_HEAP_GC_TRACER_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
11 // A simple ring buffer class with maximum size known at compile time. 11 // A simple ring buffer class with maximum size known at compile time.
12 // The class only implements the functionality required in GCTracer. 12 // The class only implements the functionality required in GCTracer.
13 template <typename T, size_t MAX_SIZE> 13 template <typename T, size_t MAX_SIZE>
14 class RingBuffer { 14 class RingBuffer {
15 public: 15 public:
16 class const_iterator { 16 class const_iterator {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 // TODO(hpayer): This timer right now just holds the sweeping time 332 // TODO(hpayer): This timer right now just holds the sweeping time
333 // of the initial atomic sweeping pause. Make sure that it accumulates 333 // of the initial atomic sweeping pause. Make sure that it accumulates
334 // all sweeping operations performed on the main thread. 334 // all sweeping operations performed on the main thread.
335 double cumulative_sweeping_duration_; 335 double cumulative_sweeping_duration_;
336 336
337 DISALLOW_COPY_AND_ASSIGN(GCTracer); 337 DISALLOW_COPY_AND_ASSIGN(GCTracer);
338 }; 338 };
339 } 339 }
340 } // namespace v8::internal 340 } // namespace v8::internal
341 341
342 #endif // V8_GC_TRACER_H_ 342 #endif // V8_HEAP_GC_TRACER_H_
OLDNEW
« no previous file with comments | « src/heap-inl.h ('k') | src/heap/gc-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698