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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 EmptySlowElementDictionary) \ | 185 EmptySlowElementDictionary) \ |
186 V(FixedArray, materialized_objects, MaterializedObjects) \ | 186 V(FixedArray, materialized_objects, MaterializedObjects) \ |
187 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ | 187 V(FixedArray, allocation_sites_scratchpad, AllocationSitesScratchpad) \ |
188 V(FixedArray, microtask_queue, MicrotaskQueue) \ | 188 V(FixedArray, microtask_queue, MicrotaskQueue) \ |
189 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) \ | 189 V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) \ |
190 V(FixedArray, keyed_store_dummy_vector, KeyedStoreDummyVector) \ | 190 V(FixedArray, keyed_store_dummy_vector, KeyedStoreDummyVector) \ |
191 V(FixedArray, detached_contexts, DetachedContexts) \ | 191 V(FixedArray, detached_contexts, DetachedContexts) \ |
192 V(ArrayList, retained_maps, RetainedMaps) \ | 192 V(ArrayList, retained_maps, RetainedMaps) \ |
193 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ | 193 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ |
194 V(PropertyCell, array_protector, ArrayProtector) \ | 194 V(PropertyCell, array_protector, ArrayProtector) \ |
| 195 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ |
195 V(Object, weak_stack_trace_list, WeakStackTraceList) | 196 V(Object, weak_stack_trace_list, WeakStackTraceList) |
196 | 197 |
197 // Entries in this list are limited to Smis and are not visited during GC. | 198 // Entries in this list are limited to Smis and are not visited during GC. |
198 #define SMI_ROOT_LIST(V) \ | 199 #define SMI_ROOT_LIST(V) \ |
199 V(Smi, stack_limit, StackLimit) \ | 200 V(Smi, stack_limit, StackLimit) \ |
200 V(Smi, real_stack_limit, RealStackLimit) \ | 201 V(Smi, real_stack_limit, RealStackLimit) \ |
201 V(Smi, last_script_id, LastScriptId) \ | 202 V(Smi, last_script_id, LastScriptId) \ |
202 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ | 203 V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
203 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ | 204 V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
204 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ | 205 V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ |
(...skipping 2653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2858 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2859 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2859 | 2860 |
2860 private: | 2861 private: |
2861 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2862 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2862 }; | 2863 }; |
2863 #endif // DEBUG | 2864 #endif // DEBUG |
2864 } | 2865 } |
2865 } // namespace v8::internal | 2866 } // namespace v8::internal |
2866 | 2867 |
2867 #endif // V8_HEAP_HEAP_H_ | 2868 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |