| 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 "src/allocation.h" |
| 11 #include "assert-scope.h" | 11 #include "src/assert-scope.h" |
| 12 #include "counters.h" | 12 #include "src/counters.h" |
| 13 #include "globals.h" | 13 #include "src/globals.h" |
| 14 #include "incremental-marking.h" | 14 #include "src/incremental-marking.h" |
| 15 #include "list.h" | 15 #include "src/list.h" |
| 16 #include "mark-compact.h" | 16 #include "src/mark-compact.h" |
| 17 #include "objects-visiting.h" | 17 #include "src/objects-visiting.h" |
| 18 #include "spaces.h" | 18 #include "src/spaces.h" |
| 19 #include "splay-tree-inl.h" | 19 #include "src/splay-tree-inl.h" |
| 20 #include "store-buffer.h" | 20 #include "src/store-buffer.h" |
| 21 | 21 |
| 22 namespace v8 { | 22 namespace v8 { |
| 23 namespace internal { | 23 namespace internal { |
| 24 | 24 |
| 25 // Defines all the roots in Heap. | 25 // Defines all the roots in Heap. |
| 26 #define STRONG_ROOT_LIST(V) \ | 26 #define STRONG_ROOT_LIST(V) \ |
| 27 V(Map, byte_array_map, ByteArrayMap) \ | 27 V(Map, byte_array_map, ByteArrayMap) \ |
| 28 V(Map, free_space_map, FreeSpaceMap) \ | 28 V(Map, free_space_map, FreeSpaceMap) \ |
| 29 V(Map, one_pointer_filler_map, OnePointerFillerMap) \ | 29 V(Map, one_pointer_filler_map, OnePointerFillerMap) \ |
| 30 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \ | 30 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \ |
| (...skipping 2730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2761 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2761 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
| 2762 | 2762 |
| 2763 private: | 2763 private: |
| 2764 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2764 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2765 }; | 2765 }; |
| 2766 #endif // DEBUG | 2766 #endif // DEBUG |
| 2767 | 2767 |
| 2768 } } // namespace v8::internal | 2768 } } // namespace v8::internal |
| 2769 | 2769 |
| 2770 #endif // V8_HEAP_H_ | 2770 #endif // V8_HEAP_H_ |
| OLD | NEW |