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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 V(FixedArray, materialized_objects, MaterializedObjects) \ | 201 V(FixedArray, materialized_objects, MaterializedObjects) \ |
202 V(FixedArray, microtask_queue, MicrotaskQueue) \ | 202 V(FixedArray, microtask_queue, MicrotaskQueue) \ |
203 V(FixedArray, detached_contexts, DetachedContexts) \ | 203 V(FixedArray, detached_contexts, DetachedContexts) \ |
204 V(ArrayList, retained_maps, RetainedMaps) \ | 204 V(ArrayList, retained_maps, RetainedMaps) \ |
205 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ | 205 V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \ |
206 /* 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 */ \ |
207 /* 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 */ \ |
208 /* 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. */ \ |
209 V(ArrayList, weak_new_space_object_to_code_list, \ | 209 V(ArrayList, weak_new_space_object_to_code_list, \ |
210 WeakNewSpaceObjectToCodeList) \ | 210 WeakNewSpaceObjectToCodeList) \ |
| 211 /* List to hold onto feedback vectors that we need for code coverage */ \ |
| 212 V(Object, code_coverage_list, CodeCoverageList) \ |
211 V(Object, weak_stack_trace_list, WeakStackTraceList) \ | 213 V(Object, weak_stack_trace_list, WeakStackTraceList) \ |
212 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ | 214 V(Object, noscript_shared_function_infos, NoScriptSharedFunctionInfos) \ |
213 V(FixedArray, serialized_templates, SerializedTemplates) \ | 215 V(FixedArray, serialized_templates, SerializedTemplates) \ |
214 V(FixedArray, serialized_global_proxy_sizes, SerializedGlobalProxySizes) \ | 216 V(FixedArray, serialized_global_proxy_sizes, SerializedGlobalProxySizes) \ |
215 /* Configured values */ \ | 217 /* Configured values */ \ |
216 V(TemplateList, message_listeners, MessageListeners) \ | 218 V(TemplateList, message_listeners, MessageListeners) \ |
217 V(InterceptorInfo, noop_interceptor_info, NoOpInterceptorInfo) \ | 219 V(InterceptorInfo, noop_interceptor_info, NoOpInterceptorInfo) \ |
218 V(Code, js_entry_code, JsEntryCode) \ | 220 V(Code, js_entry_code, JsEntryCode) \ |
219 V(Code, js_construct_entry_code, JsConstructEntryCode) \ | 221 V(Code, js_construct_entry_code, JsConstructEntryCode) \ |
220 /* Oddball maps */ \ | 222 /* Oddball maps */ \ |
(...skipping 2470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2691 friend class LargeObjectSpace; | 2693 friend class LargeObjectSpace; |
2692 friend class NewSpace; | 2694 friend class NewSpace; |
2693 friend class PagedSpace; | 2695 friend class PagedSpace; |
2694 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2696 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2695 }; | 2697 }; |
2696 | 2698 |
2697 } // namespace internal | 2699 } // namespace internal |
2698 } // namespace v8 | 2700 } // namespace v8 |
2699 | 2701 |
2700 #endif // V8_HEAP_HEAP_H_ | 2702 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |