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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 V(ByteArray, empty_byte_array, EmptyByteArray) \ | 71 V(ByteArray, empty_byte_array, EmptyByteArray) \ |
72 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ | 72 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ |
73 /* The roots above this line should be boring from a GC point of view. */ \ | 73 /* The roots above this line should be boring from a GC point of view. */ \ |
74 /* This means they are never in new space and never on a page that is */ \ | 74 /* This means they are never in new space and never on a page that is */ \ |
75 /* being compacted. */ \ | 75 /* being compacted. */ \ |
76 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ | 76 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ |
77 V(Oddball, arguments_marker, ArgumentsMarker) \ | 77 V(Oddball, arguments_marker, ArgumentsMarker) \ |
78 V(Oddball, exception, Exception) \ | 78 V(Oddball, exception, Exception) \ |
79 V(Oddball, termination_exception, TerminationException) \ | 79 V(Oddball, termination_exception, TerminationException) \ |
80 V(Oddball, optimized_out, OptimizedOut) \ | 80 V(Oddball, optimized_out, OptimizedOut) \ |
| 81 V(Oddball, stale_register, StaleRegister) \ |
81 V(FixedArray, number_string_cache, NumberStringCache) \ | 82 V(FixedArray, number_string_cache, NumberStringCache) \ |
82 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ | 83 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ |
83 V(Object, instanceof_cache_map, InstanceofCacheMap) \ | 84 V(Object, instanceof_cache_map, InstanceofCacheMap) \ |
84 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ | 85 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ |
85 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ | 86 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ |
86 V(FixedArray, string_split_cache, StringSplitCache) \ | 87 V(FixedArray, string_split_cache, StringSplitCache) \ |
87 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \ | 88 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \ |
88 V(Smi, hash_seed, HashSeed) \ | 89 V(Smi, hash_seed, HashSeed) \ |
89 V(Map, hash_table_map, HashTableMap) \ | 90 V(Map, hash_table_map, HashTableMap) \ |
90 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ | 91 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 V(Map, undefined_map, UndefinedMap) \ | 146 V(Map, undefined_map, UndefinedMap) \ |
146 V(Map, the_hole_map, TheHoleMap) \ | 147 V(Map, the_hole_map, TheHoleMap) \ |
147 V(Map, null_map, NullMap) \ | 148 V(Map, null_map, NullMap) \ |
148 V(Map, boolean_map, BooleanMap) \ | 149 V(Map, boolean_map, BooleanMap) \ |
149 V(Map, uninitialized_map, UninitializedMap) \ | 150 V(Map, uninitialized_map, UninitializedMap) \ |
150 V(Map, arguments_marker_map, ArgumentsMarkerMap) \ | 151 V(Map, arguments_marker_map, ArgumentsMarkerMap) \ |
151 V(Map, no_interceptor_result_sentinel_map, NoInterceptorResultSentinelMap) \ | 152 V(Map, no_interceptor_result_sentinel_map, NoInterceptorResultSentinelMap) \ |
152 V(Map, exception_map, ExceptionMap) \ | 153 V(Map, exception_map, ExceptionMap) \ |
153 V(Map, termination_exception_map, TerminationExceptionMap) \ | 154 V(Map, termination_exception_map, TerminationExceptionMap) \ |
154 V(Map, optimized_out_map, OptimizedOutMap) \ | 155 V(Map, optimized_out_map, OptimizedOutMap) \ |
| 156 V(Map, stale_register_map, StaleRegisterMap) \ |
155 V(Map, message_object_map, JSMessageObjectMap) \ | 157 V(Map, message_object_map, JSMessageObjectMap) \ |
156 V(Map, foreign_map, ForeignMap) \ | 158 V(Map, foreign_map, ForeignMap) \ |
157 V(Map, neander_map, NeanderMap) \ | 159 V(Map, neander_map, NeanderMap) \ |
158 V(Map, external_map, ExternalMap) \ | 160 V(Map, external_map, ExternalMap) \ |
159 V(HeapNumber, nan_value, NanValue) \ | 161 V(HeapNumber, nan_value, NanValue) \ |
160 V(HeapNumber, infinity_value, InfinityValue) \ | 162 V(HeapNumber, infinity_value, InfinityValue) \ |
161 V(HeapNumber, minus_zero_value, MinusZeroValue) \ | 163 V(HeapNumber, minus_zero_value, MinusZeroValue) \ |
162 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ | 164 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ |
163 V(JSObject, message_listeners, MessageListeners) \ | 165 V(JSObject, message_listeners, MessageListeners) \ |
164 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ | 166 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ |
(...skipping 2484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2649 friend class LargeObjectSpace; | 2651 friend class LargeObjectSpace; |
2650 friend class NewSpace; | 2652 friend class NewSpace; |
2651 friend class PagedSpace; | 2653 friend class PagedSpace; |
2652 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2654 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2653 }; | 2655 }; |
2654 | 2656 |
2655 } // namespace internal | 2657 } // namespace internal |
2656 } // namespace v8 | 2658 } // namespace v8 |
2657 | 2659 |
2658 #endif // V8_HEAP_HEAP_H_ | 2660 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |