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