| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ | 192 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ |
| 193 /* Lists and dictionaries */ \ | 193 /* Lists and dictionaries */ \ |
| 194 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ | 194 V(NameDictionary, empty_properties_dictionary, EmptyPropertiesDictionary) \ |
| 195 V(NameDictionary, public_symbol_table, PublicSymbolTable) \ | 195 V(NameDictionary, public_symbol_table, PublicSymbolTable) \ |
| 196 V(NameDictionary, api_symbol_table, ApiSymbolTable) \ | 196 V(NameDictionary, api_symbol_table, ApiSymbolTable) \ |
| 197 V(NameDictionary, api_private_symbol_table, ApiPrivateSymbolTable) \ | 197 V(NameDictionary, api_private_symbol_table, ApiPrivateSymbolTable) \ |
| 198 V(Object, script_list, ScriptList) \ | 198 V(Object, script_list, ScriptList) \ |
| 199 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ | 199 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ |
| 200 V(FixedArray, materialized_objects, MaterializedObjects) \ | 200 V(FixedArray, materialized_objects, MaterializedObjects) \ |
| 201 V(FixedArray, microtask_queue, MicrotaskQueue) \ | 201 V(FixedArray, microtask_queue, MicrotaskQueue) \ |
| 202 V(FixedArray, weak_refs, WeakRefs) \ |
| 202 V(FixedArray, detached_contexts, DetachedContexts) \ | 203 V(FixedArray, detached_contexts, DetachedContexts) \ |
| 203 V(ArrayList, retained_maps, RetainedMaps) \ | 204 V(ArrayList, retained_maps, RetainedMaps) \ |
| 204 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ | 205 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ |
| 205 /* weak_new_space_object_to_code_list is an array of weak cells, where */ \ | 206 /* weak_new_space_object_to_code_list is an array of weak cells, where */ \ |
| 206 /* slots with even indices refer to the weak object, and the subsequent */ \ | 207 /* slots with even indices refer to the weak object, and the subsequent */ \ |
| 207 /* slots refer to the code with the reference to the weak object. */ \ | 208 /* slots refer to the code with the reference to the weak object. */ \ |
| 208 V(ArrayList, weak_new_space_object_to_code_list, \ | 209 V(ArrayList, weak_new_space_object_to_code_list, \ |
| 209 WeakNewSpaceObjectToCodeList) \ | 210 WeakNewSpaceObjectToCodeList) \ |
| 210 /* List to hold onto feedback vectors that we need for code coverage */ \ | 211 /* List to hold onto feedback vectors that we need for code coverage */ \ |
| 211 V(Object, code_coverage_list, CodeCoverageList) \ | 212 V(Object, code_coverage_list, CodeCoverageList) \ |
| (...skipping 2440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2652 friend class LargeObjectSpace; | 2653 friend class LargeObjectSpace; |
| 2653 friend class NewSpace; | 2654 friend class NewSpace; |
| 2654 friend class PagedSpace; | 2655 friend class PagedSpace; |
| 2655 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2656 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
| 2656 }; | 2657 }; |
| 2657 | 2658 |
| 2658 } // namespace internal | 2659 } // namespace internal |
| 2659 } // namespace v8 | 2660 } // namespace v8 |
| 2660 | 2661 |
| 2661 #endif // V8_HEAP_HEAP_H_ | 2662 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |