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

Side by Side Diff: src/heap/heap.h

Issue 1310953008: [heap] Move ObjectStatsVisitor into the proper component. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-heap-object-stats-1
Patch Set: Created 5 years, 3 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/mark-compact.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 #ifndef V8_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 2350 matching lines...) Expand 10 before | Expand all | Expand 10 after
2361 StrongRootsList* strong_roots_list_; 2361 StrongRootsList* strong_roots_list_;
2362 2362
2363 // Classes in "heap" can be friends. 2363 // Classes in "heap" can be friends.
2364 friend class AlwaysAllocateScope; 2364 friend class AlwaysAllocateScope;
2365 friend class GCCallbacksScope; 2365 friend class GCCallbacksScope;
2366 friend class GCTracer; 2366 friend class GCTracer;
2367 friend class HeapIterator; 2367 friend class HeapIterator;
2368 friend class IncrementalMarking; 2368 friend class IncrementalMarking;
2369 friend class MarkCompactCollector; 2369 friend class MarkCompactCollector;
2370 friend class MarkCompactMarkingVisitor; 2370 friend class MarkCompactMarkingVisitor;
2371 friend class ObjectStatsVisitor;
2371 friend class Page; 2372 friend class Page;
2372 friend class StoreBuffer; 2373 friend class StoreBuffer;
2373 2374
2374 // The allocator interface. 2375 // The allocator interface.
2375 friend class Factory; 2376 friend class Factory;
2376 2377
2377 // The Isolate constructs us. 2378 // The Isolate constructs us.
2378 friend class Isolate; 2379 friend class Isolate;
2379 2380
2380 // Used in cctest. 2381 // Used in cctest.
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
2741 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2742 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2742 2743
2743 private: 2744 private:
2744 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2745 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2745 }; 2746 };
2746 #endif // DEBUG 2747 #endif // DEBUG
2747 } 2748 }
2748 } // namespace v8::internal 2749 } // namespace v8::internal
2749 2750
2750 #endif // V8_HEAP_HEAP_H_ 2751 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698