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 2338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2349 | 2349 |
2350 ArrayBufferTracker* array_buffer_tracker_; | 2350 ArrayBufferTracker* array_buffer_tracker_; |
2351 | 2351 |
2352 // Classes in "heap" can be friends. | 2352 // Classes in "heap" can be friends. |
2353 friend class AlwaysAllocateScope; | 2353 friend class AlwaysAllocateScope; |
2354 friend class GCCallbacksScope; | 2354 friend class GCCallbacksScope; |
2355 friend class GCTracer; | 2355 friend class GCTracer; |
2356 friend class HeapIterator; | 2356 friend class HeapIterator; |
2357 friend class IdleScavengeObserver; | 2357 friend class IdleScavengeObserver; |
2358 friend class IncrementalMarking; | 2358 friend class IncrementalMarking; |
| 2359 friend class IteratePointersToFromSpaceVisitor; |
2359 friend class MarkCompactCollector; | 2360 friend class MarkCompactCollector; |
2360 friend class MarkCompactMarkingVisitor; | 2361 friend class MarkCompactMarkingVisitor; |
2361 friend class NewSpace; | 2362 friend class NewSpace; |
2362 friend class ObjectStatsVisitor; | 2363 friend class ObjectStatsVisitor; |
2363 friend class Page; | 2364 friend class Page; |
2364 friend class Scavenger; | 2365 friend class Scavenger; |
2365 friend class StoreBuffer; | 2366 friend class StoreBuffer; |
2366 | 2367 |
2367 // The allocator interface. | 2368 // The allocator interface. |
2368 friend class Factory; | 2369 friend class Factory; |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2720 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2721 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2721 | 2722 |
2722 private: | 2723 private: |
2723 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2724 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2724 }; | 2725 }; |
2725 #endif // DEBUG | 2726 #endif // DEBUG |
2726 } // namespace internal | 2727 } // namespace internal |
2727 } // namespace v8 | 2728 } // namespace v8 |
2728 | 2729 |
2729 #endif // V8_HEAP_HEAP_H_ | 2730 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |