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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 V(TypeFeedbackVector, dummy_vector, DummyVector) \ | 182 V(TypeFeedbackVector, dummy_vector, DummyVector) \ |
183 V(FixedArray, empty_literals_array, EmptyLiteralsArray) \ | 183 V(FixedArray, empty_literals_array, EmptyLiteralsArray) \ |
184 V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \ | 184 V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \ |
185 V(FixedArray, detached_contexts, DetachedContexts) \ | 185 V(FixedArray, detached_contexts, DetachedContexts) \ |
186 V(ArrayList, retained_maps, RetainedMaps) \ | 186 V(ArrayList, retained_maps, RetainedMaps) \ |
187 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ | 187 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ |
188 V(PropertyCell, array_protector, ArrayProtector) \ | 188 V(PropertyCell, array_protector, ArrayProtector) \ |
189 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ | 189 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ |
190 V(Object, weak_stack_trace_list, WeakStackTraceList) \ | 190 V(Object, weak_stack_trace_list, WeakStackTraceList) \ |
191 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ | 191 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ |
192 V(FixedArray, interpreter_table, InterpreterTable) \ | |
193 V(Map, bytecode_array_map, BytecodeArrayMap) \ | 192 V(Map, bytecode_array_map, BytecodeArrayMap) \ |
194 V(WeakCell, empty_weak_cell, EmptyWeakCell) | 193 V(WeakCell, empty_weak_cell, EmptyWeakCell) |
195 | 194 |
196 // Entries in this list are limited to Smis and are not visited during GC. | 195 // Entries in this list are limited to Smis and are not visited during GC. |
197 #define SMI_ROOT_LIST(V) \ | 196 #define SMI_ROOT_LIST(V) \ |
198 V(Smi, stack_limit, StackLimit) \ | 197 V(Smi, stack_limit, StackLimit) \ |
199 V(Smi, real_stack_limit, RealStackLimit) \ | 198 V(Smi, real_stack_limit, RealStackLimit) \ |
200 V(Smi, last_script_id, LastScriptId) \ | 199 V(Smi, last_script_id, LastScriptId) \ |
201 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 200 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
202 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ | 201 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
(...skipping 2451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2654 | 2653 |
2655 private: | 2654 private: |
2656 friend class NewSpace; | 2655 friend class NewSpace; |
2657 DISALLOW_COPY_AND_ASSIGN(InlineAllocationObserver); | 2656 DISALLOW_COPY_AND_ASSIGN(InlineAllocationObserver); |
2658 }; | 2657 }; |
2659 | 2658 |
2660 } // namespace internal | 2659 } // namespace internal |
2661 } // namespace v8 | 2660 } // namespace v8 |
2662 | 2661 |
2663 #endif // V8_HEAP_HEAP_H_ | 2662 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |