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 2183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2194 MemoryAllocator* memory_allocator_; | 2194 MemoryAllocator* memory_allocator_; |
2195 | 2195 |
2196 StoreBuffer store_buffer_; | 2196 StoreBuffer store_buffer_; |
2197 | 2197 |
2198 IncrementalMarking* incremental_marking_; | 2198 IncrementalMarking* incremental_marking_; |
2199 | 2199 |
2200 GCIdleTimeHandler* gc_idle_time_handler_; | 2200 GCIdleTimeHandler* gc_idle_time_handler_; |
2201 | 2201 |
2202 MemoryReducer* memory_reducer_; | 2202 MemoryReducer* memory_reducer_; |
2203 | 2203 |
2204 ObjectStats* object_stats_; | 2204 ObjectStats* live_object_stats_; |
| 2205 ObjectStats* dead_object_stats_; |
2205 | 2206 |
2206 ScavengeJob* scavenge_job_; | 2207 ScavengeJob* scavenge_job_; |
2207 | 2208 |
2208 AllocationObserver* idle_scavenge_observer_; | 2209 AllocationObserver* idle_scavenge_observer_; |
2209 | 2210 |
2210 // These two counters are monotomically increasing and never reset. | 2211 // These two counters are monotomically increasing and never reset. |
2211 size_t full_codegen_bytes_generated_; | 2212 size_t full_codegen_bytes_generated_; |
2212 size_t crankshaft_codegen_bytes_generated_; | 2213 size_t crankshaft_codegen_bytes_generated_; |
2213 | 2214 |
2214 // This counter is increased before each GC and never reset. | 2215 // This counter is increased before each GC and never reset. |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2692 friend class LargeObjectSpace; | 2693 friend class LargeObjectSpace; |
2693 friend class NewSpace; | 2694 friend class NewSpace; |
2694 friend class PagedSpace; | 2695 friend class PagedSpace; |
2695 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2696 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2696 }; | 2697 }; |
2697 | 2698 |
2698 } // namespace internal | 2699 } // namespace internal |
2699 } // namespace v8 | 2700 } // namespace v8 |
2700 | 2701 |
2701 #endif // V8_HEAP_HEAP_H_ | 2702 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |