| 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 2345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 MarkCompactCollector; | 2359 friend class MarkCompactCollector; |
| 2360 friend class MarkCompactMarkingVisitor; | 2360 friend class MarkCompactMarkingVisitor; |
| 2361 friend class NewSpace; | 2361 friend class NewSpace; |
| 2362 friend class ObjectStatsVisitor; | 2362 friend class ObjectStatsVisitor; |
| 2363 friend class Page; | 2363 friend class Page; |
| 2364 friend class Scavenger; | 2364 friend class Scavenger; |
| 2365 friend class StoreBuffer; | 2365 friend class StoreBuffer; |
| 2366 friend class IteratePointersToFromSpaceVisitor; |
| 2366 | 2367 |
| 2367 // The allocator interface. | 2368 // The allocator interface. |
| 2368 friend class Factory; | 2369 friend class Factory; |
| 2369 | 2370 |
| 2370 // The Isolate constructs us. | 2371 // The Isolate constructs us. |
| 2371 friend class Isolate; | 2372 friend class Isolate; |
| 2372 | 2373 |
| 2373 // Used in cctest. | 2374 // Used in cctest. |
| 2374 friend class HeapTester; | 2375 friend class HeapTester; |
| 2375 | 2376 |
| (...skipping 344 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 |