| 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 V(FixedArray, detached_contexts, DetachedContexts) \ | 187 V(FixedArray, detached_contexts, DetachedContexts) \ |
| 188 V(ArrayList, retained_maps, RetainedMaps) \ | 188 V(ArrayList, retained_maps, RetainedMaps) \ |
| 189 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ | 189 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ |
| 190 V(PropertyCell, array_protector, ArrayProtector) \ | 190 V(PropertyCell, array_protector, ArrayProtector) \ |
| 191 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ | 191 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ |
| 192 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ | 192 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ |
| 193 V(Object, weak_stack_trace_list, WeakStackTraceList) \ | 193 V(Object, weak_stack_trace_list, WeakStackTraceList) \ |
| 194 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ | 194 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ |
| 195 V(Map, bytecode_array_map, BytecodeArrayMap) \ | 195 V(Map, bytecode_array_map, BytecodeArrayMap) \ |
| 196 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ | 196 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ |
| 197 V(PropertyCell, has_instance_protector, HasInstanceProtector) \ |
| 197 V(Cell, species_protector, SpeciesProtector) | 198 V(Cell, species_protector, SpeciesProtector) |
| 198 | 199 |
| 199 // Entries in this list are limited to Smis and are not visited during GC. | 200 // Entries in this list are limited to Smis and are not visited during GC. |
| 200 #define SMI_ROOT_LIST(V) \ | 201 #define SMI_ROOT_LIST(V) \ |
| 201 V(Smi, stack_limit, StackLimit) \ | 202 V(Smi, stack_limit, StackLimit) \ |
| 202 V(Smi, real_stack_limit, RealStackLimit) \ | 203 V(Smi, real_stack_limit, RealStackLimit) \ |
| 203 V(Smi, last_script_id, LastScriptId) \ | 204 V(Smi, last_script_id, LastScriptId) \ |
| 204 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 205 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
| 205 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ | 206 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
| 206 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ | 207 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ |
| (...skipping 2438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2645 friend class LargeObjectSpace; | 2646 friend class LargeObjectSpace; |
| 2646 friend class NewSpace; | 2647 friend class NewSpace; |
| 2647 friend class PagedSpace; | 2648 friend class PagedSpace; |
| 2648 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2649 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
| 2649 }; | 2650 }; |
| 2650 | 2651 |
| 2651 } // namespace internal | 2652 } // namespace internal |
| 2652 } // namespace v8 | 2653 } // namespace v8 |
| 2653 | 2654 |
| 2654 #endif // V8_HEAP_HEAP_H_ | 2655 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |