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 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 V(JSObject, observation_state, ObservationState) \ | 178 V(JSObject, observation_state, ObservationState) \ |
179 V(Object, symbol_registry, SymbolRegistry) \ | 179 V(Object, symbol_registry, SymbolRegistry) \ |
180 V(SeededNumberDictionary, empty_slow_element_dictionary, \ | 180 V(SeededNumberDictionary, empty_slow_element_dictionary, \ |
181 EmptySlowElementDictionary) \ | 181 EmptySlowElementDictionary) \ |
182 V(FixedArray, materialized_objects, MaterializedObjects) \ | 182 V(FixedArray, materialized_objects, MaterializedObjects) \ |
183 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ | 183 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ |
184 V(FixedArray, microtask_queue, MicrotaskQueue) \ | 184 V(FixedArray, microtask_queue, MicrotaskQueue) \ |
185 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) \ | 185 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) \ |
186 V(FixedArray, detached_contexts, DetachedContexts) \ | 186 V(FixedArray, detached_contexts, DetachedContexts) \ |
187 V(ArrayList, retained_maps, RetainedMaps) \ | 187 V(ArrayList, retained_maps, RetainedMaps) \ |
188 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ | 188 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) |
189 V(PropertyCell, array_protector, ArrayProtector) | |
190 | 189 |
191 // Entries in this list are limited to Smis and are not visited during GC. | 190 // Entries in this list are limited to Smis and are not visited during GC. |
192 #define SMI_ROOT_LIST(V) \ | 191 #define SMI_ROOT_LIST(V) \ |
193 V(Smi, stack_limit, StackLimit) \ | 192 V(Smi, stack_limit, StackLimit) \ |
194 V(Smi, real_stack_limit, RealStackLimit) \ | 193 V(Smi, real_stack_limit, RealStackLimit) \ |
195 V(Smi, last_script_id, LastScriptId) \ | 194 V(Smi, last_script_id, LastScriptId) \ |
196 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 195 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
197 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ | 196 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
198 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ | 197 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ |
199 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) | 198 V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) |
(...skipping 2437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2637 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2636 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2638 | 2637 |
2639 private: | 2638 private: |
2640 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2639 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2641 }; | 2640 }; |
2642 #endif // DEBUG | 2641 #endif // DEBUG |
2643 } | 2642 } |
2644 } // namespace v8::internal | 2643 } // namespace v8::internal |
2645 | 2644 |
2646 #endif // V8_HEAP_HEAP_H_ | 2645 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |