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 2637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2648 intptr_t step_size_; | 2648 intptr_t step_size_; |
2649 intptr_t bytes_to_next_step_; | 2649 intptr_t bytes_to_next_step_; |
2650 | 2650 |
2651 private: | 2651 private: |
2652 friend class LargeObjectSpace; | 2652 friend class LargeObjectSpace; |
2653 friend class NewSpace; | 2653 friend class NewSpace; |
2654 friend class PagedSpace; | 2654 friend class PagedSpace; |
2655 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2655 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2656 }; | 2656 }; |
2657 | 2657 |
| 2658 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); |
| 2659 |
2658 } // namespace internal | 2660 } // namespace internal |
2659 } // namespace v8 | 2661 } // namespace v8 |
2660 | 2662 |
2661 #endif // V8_HEAP_HEAP_H_ | 2663 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |