| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ | 173 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ |
| 174 V(Cell, undefined_cell, UndefinedCell) \ | 174 V(Cell, undefined_cell, UndefinedCell) \ |
| 175 V(JSObject, observation_state, ObservationState) \ | 175 V(JSObject, observation_state, ObservationState) \ |
| 176 V(Object, symbol_registry, SymbolRegistry) \ | 176 V(Object, symbol_registry, SymbolRegistry) \ |
| 177 V(Object, script_list, ScriptList) \ | 177 V(Object, script_list, ScriptList) \ |
| 178 V(SeededNumberDictionary, empty_slow_element_dictionary, \ | 178 V(SeededNumberDictionary, empty_slow_element_dictionary, \ |
| 179 EmptySlowElementDictionary) \ | 179 EmptySlowElementDictionary) \ |
| 180 V(FixedArray, materialized_objects, MaterializedObjects) \ | 180 V(FixedArray, materialized_objects, MaterializedObjects) \ |
| 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, empty_literals_array, EmptyLiteralsArray) \ |
| 183 V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \ | 184 V(FixedArray, cleared_optimized_code_map, ClearedOptimizedCodeMap) \ |
| 184 V(FixedArray, detached_contexts, DetachedContexts) \ | 185 V(FixedArray, detached_contexts, DetachedContexts) \ |
| 185 V(ArrayList, retained_maps, RetainedMaps) \ | 186 V(ArrayList, retained_maps, RetainedMaps) \ |
| 186 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ | 187 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ |
| 187 V(PropertyCell, array_protector, ArrayProtector) \ | 188 V(PropertyCell, array_protector, ArrayProtector) \ |
| 188 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ | 189 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ |
| 189 V(Object, weak_stack_trace_list, WeakStackTraceList) \ | 190 V(Object, weak_stack_trace_list, WeakStackTraceList) \ |
| 190 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ | 191 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ |
| 191 V(FixedArray, interpreter_table, InterpreterTable) \ | 192 V(FixedArray, interpreter_table, InterpreterTable) \ |
| 192 V(Map, bytecode_array_map, BytecodeArrayMap) \ | 193 V(Map, bytecode_array_map, BytecodeArrayMap) \ |
| 193 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ | 194 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ |
| 194 V(BytecodeArray, empty_bytecode_array, EmptyBytecodeArray) | 195 V(BytecodeArray, empty_bytecode_array, EmptyBytecodeArray) |
| 195 | 196 |
| 196 | |
| 197 // Entries in this list are limited to Smis and are not visited during GC. | 197 // Entries in this list are limited to Smis and are not visited during GC. |
| 198 #define SMI_ROOT_LIST(V) \ | 198 #define SMI_ROOT_LIST(V) \ |
| 199 V(Smi, stack_limit, StackLimit) \ | 199 V(Smi, stack_limit, StackLimit) \ |
| 200 V(Smi, real_stack_limit, RealStackLimit) \ | 200 V(Smi, real_stack_limit, RealStackLimit) \ |
| 201 V(Smi, last_script_id, LastScriptId) \ | 201 V(Smi, last_script_id, LastScriptId) \ |
| 202 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 202 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
| 203 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ | 203 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
| 204 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ | 204 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ |
| 205 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) | 205 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) |
| 206 | 206 |
| (...skipping 2446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2653 | 2653 |
| 2654 private: | 2654 private: |
| 2655 friend class NewSpace; | 2655 friend class NewSpace; |
| 2656 DISALLOW_COPY_AND_ASSIGN(InlineAllocationObserver); | 2656 DISALLOW_COPY_AND_ASSIGN(InlineAllocationObserver); |
| 2657 }; | 2657 }; |
| 2658 | 2658 |
| 2659 } // namespace internal | 2659 } // namespace internal |
| 2660 } // namespace v8 | 2660 } // namespace v8 |
| 2661 | 2661 |
| 2662 #endif // V8_HEAP_HEAP_H_ | 2662 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |