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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 V(Map, cell_map, CellMap) \ | 56 V(Map, cell_map, CellMap) \ |
57 V(Map, weak_cell_map, WeakCellMap) \ | 57 V(Map, weak_cell_map, WeakCellMap) \ |
58 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ | 58 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ |
59 V(Map, foreign_map, ForeignMap) \ | 59 V(Map, foreign_map, ForeignMap) \ |
60 V(Map, heap_number_map, HeapNumberMap) \ | 60 V(Map, heap_number_map, HeapNumberMap) \ |
61 V(Map, transition_array_map, TransitionArrayMap) \ | 61 V(Map, transition_array_map, TransitionArrayMap) \ |
62 V(FixedArray, empty_literals_array, EmptyLiteralsArray) \ | 62 V(FixedArray, empty_literals_array, EmptyLiteralsArray) \ |
63 V(FixedArray, empty_type_feedback_vector, EmptyTypeFeedbackVector) \ | 63 V(FixedArray, empty_type_feedback_vector, EmptyTypeFeedbackVector) \ |
64 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ | 64 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ |
65 V(ScopeInfo, empty_scope_info, EmptyScopeInfo) \ | 65 V(ScopeInfo, empty_scope_info, EmptyScopeInfo) \ |
66 V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \ | |
67 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ | 66 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ |
68 /* Entries beyond the first 32 */ \ | 67 /* Entries beyond the first 32 */ \ |
69 /* The roots above this line should be boring from a GC point of view. */ \ | 68 /* The roots above this line should be boring from a GC point of view. */ \ |
70 /* This means they are never in new space and never on a page that is */ \ | 69 /* This means they are never in new space and never on a page that is */ \ |
71 /* being compacted. */ \ | 70 /* being compacted. */ \ |
72 /* Oddballs */ \ | 71 /* Oddballs */ \ |
73 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ | 72 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ |
74 V(Oddball, arguments_marker, ArgumentsMarker) \ | 73 V(Oddball, arguments_marker, ArgumentsMarker) \ |
75 V(Oddball, exception, Exception) \ | 74 V(Oddball, exception, Exception) \ |
76 V(Oddball, termination_exception, TerminationException) \ | 75 V(Oddball, termination_exception, TerminationException) \ |
(...skipping 2563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2640 } | 2639 } |
2641 | 2640 |
2642 private: | 2641 private: |
2643 Heap* heap_; | 2642 Heap* heap_; |
2644 }; | 2643 }; |
2645 | 2644 |
2646 } // namespace internal | 2645 } // namespace internal |
2647 } // namespace v8 | 2646 } // namespace v8 |
2648 | 2647 |
2649 #endif // V8_HEAP_HEAP_H_ | 2648 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |