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_H_ | 5 #ifndef V8_HEAP_H_ |
6 #define V8_HEAP_H_ | 6 #define V8_HEAP_H_ |
7 | 7 |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "allocation.h" | 10 #include "allocation.h" |
11 #include "assert-scope.h" | 11 #include "assert-scope.h" |
| 12 #include "counters.h" |
12 #include "globals.h" | 13 #include "globals.h" |
13 #include "incremental-marking.h" | 14 #include "incremental-marking.h" |
14 #include "list.h" | 15 #include "list.h" |
15 #include "mark-compact.h" | 16 #include "mark-compact.h" |
16 #include "objects-visiting.h" | 17 #include "objects-visiting.h" |
17 #include "spaces.h" | 18 #include "spaces.h" |
18 #include "splay-tree-inl.h" | 19 #include "splay-tree-inl.h" |
19 #include "store-buffer.h" | 20 #include "store-buffer.h" |
20 #include "v8-counters.h" | |
21 #include "v8globals.h" | 21 #include "v8globals.h" |
22 | 22 |
23 namespace v8 { | 23 namespace v8 { |
24 namespace internal { | 24 namespace internal { |
25 | 25 |
26 // Defines all the roots in Heap. | 26 // Defines all the roots in Heap. |
27 #define STRONG_ROOT_LIST(V) \ | 27 #define STRONG_ROOT_LIST(V) \ |
28 V(Map, byte_array_map, ByteArrayMap) \ | 28 V(Map, byte_array_map, ByteArrayMap) \ |
29 V(Map, free_space_map, FreeSpaceMap) \ | 29 V(Map, free_space_map, FreeSpaceMap) \ |
30 V(Map, one_pointer_filler_map, OnePointerFillerMap) \ | 30 V(Map, one_pointer_filler_map, OnePointerFillerMap) \ |
(...skipping 2776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2807 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2807 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2808 | 2808 |
2809 private: | 2809 private: |
2810 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2810 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2811 }; | 2811 }; |
2812 #endif // DEBUG | 2812 #endif // DEBUG |
2813 | 2813 |
2814 } } // namespace v8::internal | 2814 } } // namespace v8::internal |
2815 | 2815 |
2816 #endif // V8_HEAP_H_ | 2816 #endif // V8_HEAP_H_ |
OLD | NEW |