OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_GC_TRACER_H_ | 5 #ifndef V8_HEAP_GC_TRACER_H_ |
6 #define V8_HEAP_GC_TRACER_H_ | 6 #define V8_HEAP_GC_TRACER_H_ |
7 | 7 |
8 #include "src/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
9 #include "src/base/platform/platform.h" | 9 #include "src/base/platform/platform.h" |
10 #include "src/counters.h" | 10 #include "src/counters.h" |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 // Memory reduction flag set. | 214 // Memory reduction flag set. |
215 bool reduce_memory; | 215 bool reduce_memory; |
216 | 216 |
217 // Size of objects in heap set in constructor. | 217 // Size of objects in heap set in constructor. |
218 intptr_t start_object_size; | 218 intptr_t start_object_size; |
219 | 219 |
220 // Size of objects in heap set in destructor. | 220 // Size of objects in heap set in destructor. |
221 intptr_t end_object_size; | 221 intptr_t end_object_size; |
222 | 222 |
223 // Size of memory allocated from OS set in constructor. | 223 // Size of memory allocated from OS set in constructor. |
224 intptr_t start_memory_size; | 224 size_t start_memory_size; |
225 | 225 |
226 // Size of memory allocated from OS set in destructor. | 226 // Size of memory allocated from OS set in destructor. |
227 intptr_t end_memory_size; | 227 size_t end_memory_size; |
228 | 228 |
229 // Total amount of space either wasted or contained in one of free lists | 229 // Total amount of space either wasted or contained in one of free lists |
230 // before the current GC. | 230 // before the current GC. |
231 intptr_t start_holes_size; | 231 intptr_t start_holes_size; |
232 | 232 |
233 // Total amount of space either wasted or contained in one of free lists | 233 // Total amount of space either wasted or contained in one of free lists |
234 // after the current GC. | 234 // after the current GC. |
235 intptr_t end_holes_size; | 235 intptr_t end_holes_size; |
236 | 236 |
237 // Size of new space objects in constructor. | 237 // Size of new space objects in constructor. |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 RingBuffer<BytesAndDuration> recorded_old_generation_allocations_; | 465 RingBuffer<BytesAndDuration> recorded_old_generation_allocations_; |
466 RingBuffer<double> recorded_context_disposal_times_; | 466 RingBuffer<double> recorded_context_disposal_times_; |
467 RingBuffer<double> recorded_survival_ratios_; | 467 RingBuffer<double> recorded_survival_ratios_; |
468 | 468 |
469 DISALLOW_COPY_AND_ASSIGN(GCTracer); | 469 DISALLOW_COPY_AND_ASSIGN(GCTracer); |
470 }; | 470 }; |
471 } // namespace internal | 471 } // namespace internal |
472 } // namespace v8 | 472 } // namespace v8 |
473 | 473 |
474 #endif // V8_HEAP_GC_TRACER_H_ | 474 #endif // V8_HEAP_GC_TRACER_H_ |
OLD | NEW |