OLD | NEW |
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 2218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2229 friend class AlwaysAllocateScope; | 2229 friend class AlwaysAllocateScope; |
2230 friend class GCCallbacksScope; | 2230 friend class GCCallbacksScope; |
2231 friend class GCTracer; | 2231 friend class GCTracer; |
2232 friend class HeapIterator; | 2232 friend class HeapIterator; |
2233 friend class IdleScavengeObserver; | 2233 friend class IdleScavengeObserver; |
2234 friend class IncrementalMarking; | 2234 friend class IncrementalMarking; |
2235 friend class IteratePromotedObjectsVisitor; | 2235 friend class IteratePromotedObjectsVisitor; |
2236 friend class MarkCompactCollector; | 2236 friend class MarkCompactCollector; |
2237 friend class MarkCompactMarkingVisitor; | 2237 friend class MarkCompactMarkingVisitor; |
2238 friend class NewSpace; | 2238 friend class NewSpace; |
2239 friend class ObjectStatsVisitor; | 2239 friend class ObjectStatsCollector; |
2240 friend class Page; | 2240 friend class Page; |
2241 friend class Scavenger; | 2241 friend class Scavenger; |
2242 friend class StoreBuffer; | 2242 friend class StoreBuffer; |
2243 friend class TestMemoryAllocatorScope; | 2243 friend class TestMemoryAllocatorScope; |
2244 | 2244 |
2245 // The allocator interface. | 2245 // The allocator interface. |
2246 friend class Factory; | 2246 friend class Factory; |
2247 | 2247 |
2248 // The Isolate constructs us. | 2248 // The Isolate constructs us. |
2249 friend class Isolate; | 2249 friend class Isolate; |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2644 friend class LargeObjectSpace; | 2644 friend class LargeObjectSpace; |
2645 friend class NewSpace; | 2645 friend class NewSpace; |
2646 friend class PagedSpace; | 2646 friend class PagedSpace; |
2647 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2647 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2648 }; | 2648 }; |
2649 | 2649 |
2650 } // namespace internal | 2650 } // namespace internal |
2651 } // namespace v8 | 2651 } // namespace v8 |
2652 | 2652 |
2653 #endif // V8_HEAP_HEAP_H_ | 2653 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |