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/base/ring-buffer.h" | 10 #include "src/base/ring-buffer.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 F(MC_CLEAR_STORE_BUFFER) \ | 49 F(MC_CLEAR_STORE_BUFFER) \ |
50 F(MC_CLEAR_STRING_TABLE) \ | 50 F(MC_CLEAR_STRING_TABLE) \ |
51 F(MC_CLEAR_WEAK_CELLS) \ | 51 F(MC_CLEAR_WEAK_CELLS) \ |
52 F(MC_CLEAR_WEAK_COLLECTIONS) \ | 52 F(MC_CLEAR_WEAK_COLLECTIONS) \ |
53 F(MC_CLEAR_WEAK_LISTS) \ | 53 F(MC_CLEAR_WEAK_LISTS) \ |
54 F(MC_EPILOGUE) \ | 54 F(MC_EPILOGUE) \ |
55 F(MC_EVACUATE) \ | 55 F(MC_EVACUATE) \ |
56 F(MC_EVACUATE_CANDIDATES) \ | 56 F(MC_EVACUATE_CANDIDATES) \ |
57 F(MC_EVACUATE_CLEAN_UP) \ | 57 F(MC_EVACUATE_CLEAN_UP) \ |
58 F(MC_EVACUATE_COPY) \ | 58 F(MC_EVACUATE_COPY) \ |
| 59 F(MC_EVACUATE_REBALANCE) \ |
59 F(MC_EVACUATE_UPDATE_POINTERS) \ | 60 F(MC_EVACUATE_UPDATE_POINTERS) \ |
60 F(MC_EVACUATE_UPDATE_POINTERS_TO_EVACUATED) \ | 61 F(MC_EVACUATE_UPDATE_POINTERS_TO_EVACUATED) \ |
61 F(MC_EVACUATE_UPDATE_POINTERS_TO_NEW) \ | 62 F(MC_EVACUATE_UPDATE_POINTERS_TO_NEW) \ |
62 F(MC_EVACUATE_UPDATE_POINTERS_WEAK) \ | 63 F(MC_EVACUATE_UPDATE_POINTERS_WEAK) \ |
63 F(MC_FINISH) \ | 64 F(MC_FINISH) \ |
64 F(MC_MARK) \ | 65 F(MC_MARK) \ |
65 F(MC_MARK_FINISH_INCREMENTAL) \ | 66 F(MC_MARK_FINISH_INCREMENTAL) \ |
66 F(MC_MARK_PREPARE_CODE_FLUSH) \ | 67 F(MC_MARK_PREPARE_CODE_FLUSH) \ |
67 F(MC_MARK_ROOTS) \ | 68 F(MC_MARK_ROOTS) \ |
68 F(MC_MARK_WEAK_CLOSURE) \ | 69 F(MC_MARK_WEAK_CLOSURE) \ |
69 F(MC_MARK_WEAK_CLOSURE_EPHEMERAL) \ | 70 F(MC_MARK_WEAK_CLOSURE_EPHEMERAL) \ |
70 F(MC_MARK_WEAK_CLOSURE_WEAK_HANDLES) \ | 71 F(MC_MARK_WEAK_CLOSURE_WEAK_HANDLES) \ |
71 F(MC_MARK_WEAK_CLOSURE_WEAK_ROOTS) \ | 72 F(MC_MARK_WEAK_CLOSURE_WEAK_ROOTS) \ |
72 F(MC_MARK_WEAK_CLOSURE_HARMONY) \ | 73 F(MC_MARK_WEAK_CLOSURE_HARMONY) \ |
73 F(MC_MARK_WRAPPER_EPILOGUE) \ | 74 F(MC_MARK_WRAPPER_EPILOGUE) \ |
74 F(MC_MARK_WRAPPER_PROLOGUE) \ | 75 F(MC_MARK_WRAPPER_PROLOGUE) \ |
75 F(MC_MARK_WRAPPER_TRACING) \ | 76 F(MC_MARK_WRAPPER_TRACING) \ |
76 F(MC_MARK_OBJECT_GROUPING) \ | 77 F(MC_MARK_OBJECT_GROUPING) \ |
77 F(MC_PROLOGUE) \ | 78 F(MC_PROLOGUE) \ |
78 F(MC_SWEEP) \ | 79 F(MC_SWEEP) \ |
79 F(MC_SWEEP_CODE) \ | 80 F(MC_SWEEP_CODE) \ |
80 F(MC_SWEEP_MAP) \ | 81 F(MC_SWEEP_MAP) \ |
81 F(MC_SWEEP_OLD) \ | 82 F(MC_SWEEP_OLD) \ |
| 83 F(MINOR_MC) \ |
82 F(MINOR_MC_MARK) \ | 84 F(MINOR_MC_MARK) \ |
83 F(MINOR_MC_MARK_CODE_FLUSH_CANDIDATES) \ | 85 F(MINOR_MC_MARK_CODE_FLUSH_CANDIDATES) \ |
84 F(MINOR_MC_MARK_GLOBAL_HANDLES) \ | 86 F(MINOR_MC_MARK_GLOBAL_HANDLES) \ |
85 F(MINOR_MC_MARK_OLD_TO_NEW_POINTERS) \ | 87 F(MINOR_MC_MARK_OLD_TO_NEW_POINTERS) \ |
86 F(MINOR_MC_MARK_ROOTS) \ | 88 F(MINOR_MC_MARK_ROOTS) \ |
87 F(MINOR_MC_MARK_WEAK) \ | 89 F(MINOR_MC_MARK_WEAK) \ |
88 F(SCAVENGER_CODE_FLUSH_CANDIDATES) \ | 90 F(SCAVENGER_CODE_FLUSH_CANDIDATES) \ |
89 F(SCAVENGER_OLD_TO_NEW_POINTERS) \ | 91 F(SCAVENGER_OLD_TO_NEW_POINTERS) \ |
90 F(SCAVENGER_ROOTS) \ | 92 F(SCAVENGER_ROOTS) \ |
91 F(SCAVENGER_SCAVENGE) \ | 93 F(SCAVENGER_SCAVENGE) \ |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 base::RingBuffer<BytesAndDuration> recorded_old_generation_allocations_; | 431 base::RingBuffer<BytesAndDuration> recorded_old_generation_allocations_; |
430 base::RingBuffer<double> recorded_context_disposal_times_; | 432 base::RingBuffer<double> recorded_context_disposal_times_; |
431 base::RingBuffer<double> recorded_survival_ratios_; | 433 base::RingBuffer<double> recorded_survival_ratios_; |
432 | 434 |
433 DISALLOW_COPY_AND_ASSIGN(GCTracer); | 435 DISALLOW_COPY_AND_ASSIGN(GCTracer); |
434 }; | 436 }; |
435 } // namespace internal | 437 } // namespace internal |
436 } // namespace v8 | 438 } // namespace v8 |
437 | 439 |
438 #endif // V8_HEAP_GC_TRACER_H_ | 440 #endif // V8_HEAP_GC_TRACER_H_ |
OLD | NEW |