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 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
11 #include "src/assert-scope.h" | 11 #include "src/assert-scope.h" |
12 #include "src/counters.h" | 12 #include "src/counters.h" |
13 #include "src/globals.h" | 13 #include "src/globals.h" |
14 #include "src/heap/gc-tracer.h" | 14 #include "src/heap/gc-tracer.h" |
15 #include "src/heap/incremental-marking.h" | 15 #include "src/heap/incremental-marking.h" |
16 #include "src/heap/mark-compact.h" | 16 #include "src/heap/mark-compact.h" |
17 #include "src/heap/objects-visiting.h" | 17 #include "src/heap/objects-visiting.h" |
18 #include "src/heap/spaces.h" | 18 #include "src/heap/spaces.h" |
| 19 #include "src/heap/store-buffer.h" |
19 #include "src/list.h" | 20 #include "src/list.h" |
20 #include "src/splay-tree-inl.h" | 21 #include "src/splay-tree-inl.h" |
21 #include "src/store-buffer.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) \ |
31 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \ | 31 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \ |
(...skipping 2506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2538 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2538 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2539 | 2539 |
2540 private: | 2540 private: |
2541 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2541 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2542 }; | 2542 }; |
2543 #endif // DEBUG | 2543 #endif // DEBUG |
2544 } | 2544 } |
2545 } // namespace v8::internal | 2545 } // namespace v8::internal |
2546 | 2546 |
2547 #endif // V8_HEAP_HEAP_H_ | 2547 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |