| 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 2350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |