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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 F(MC_CLEAR_CODE_FLUSH) \ | 42 F(MC_CLEAR_CODE_FLUSH) \ |
43 F(MC_CLEAR_DEPENDENT_CODE) \ | 43 F(MC_CLEAR_DEPENDENT_CODE) \ |
44 F(MC_CLEAR_GLOBAL_HANDLES) \ | 44 F(MC_CLEAR_GLOBAL_HANDLES) \ |
45 F(MC_CLEAR_MAPS) \ | 45 F(MC_CLEAR_MAPS) \ |
46 F(MC_CLEAR_SLOTS_BUFFER) \ | 46 F(MC_CLEAR_SLOTS_BUFFER) \ |
47 F(MC_CLEAR_STORE_BUFFER) \ | 47 F(MC_CLEAR_STORE_BUFFER) \ |
48 F(MC_CLEAR_STRING_TABLE) \ | 48 F(MC_CLEAR_STRING_TABLE) \ |
49 F(MC_CLEAR_WEAK_CELLS) \ | 49 F(MC_CLEAR_WEAK_CELLS) \ |
50 F(MC_CLEAR_WEAK_COLLECTIONS) \ | 50 F(MC_CLEAR_WEAK_COLLECTIONS) \ |
51 F(MC_CLEAR_WEAK_LISTS) \ | 51 F(MC_CLEAR_WEAK_LISTS) \ |
| 52 F(MC_EPILOGUE) \ |
52 F(MC_EVACUATE) \ | 53 F(MC_EVACUATE) \ |
53 F(MC_EVACUATE_CANDIDATES) \ | 54 F(MC_EVACUATE_CANDIDATES) \ |
54 F(MC_EVACUATE_CLEAN_UP) \ | 55 F(MC_EVACUATE_CLEAN_UP) \ |
55 F(MC_EVACUATE_COPY) \ | 56 F(MC_EVACUATE_COPY) \ |
56 F(MC_EVACUATE_UPDATE_POINTERS) \ | 57 F(MC_EVACUATE_UPDATE_POINTERS) \ |
57 F(MC_EVACUATE_UPDATE_POINTERS_TO_EVACUATED) \ | 58 F(MC_EVACUATE_UPDATE_POINTERS_TO_EVACUATED) \ |
58 F(MC_EVACUATE_UPDATE_POINTERS_TO_NEW) \ | 59 F(MC_EVACUATE_UPDATE_POINTERS_TO_NEW) \ |
59 F(MC_EVACUATE_UPDATE_POINTERS_WEAK) \ | 60 F(MC_EVACUATE_UPDATE_POINTERS_WEAK) \ |
60 F(MC_EXTERNAL_EPILOGUE) \ | 61 F(MC_EXTERNAL_EPILOGUE) \ |
61 F(MC_EXTERNAL_PROLOGUE) \ | 62 F(MC_EXTERNAL_PROLOGUE) \ |
62 F(MC_FINISH) \ | 63 F(MC_FINISH) \ |
63 F(MC_MARK) \ | 64 F(MC_MARK) \ |
64 F(MC_MARK_FINISH_INCREMENTAL) \ | 65 F(MC_MARK_FINISH_INCREMENTAL) \ |
65 F(MC_MARK_PREPARE_CODE_FLUSH) \ | 66 F(MC_MARK_PREPARE_CODE_FLUSH) \ |
66 F(MC_MARK_ROOTS) \ | 67 F(MC_MARK_ROOTS) \ |
67 F(MC_MARK_WEAK_CLOSURE) \ | 68 F(MC_MARK_WEAK_CLOSURE) \ |
68 F(MC_MARK_WEAK_CLOSURE_EPHEMERAL) \ | 69 F(MC_MARK_WEAK_CLOSURE_EPHEMERAL) \ |
69 F(MC_MARK_WEAK_CLOSURE_WEAK_HANDLES) \ | 70 F(MC_MARK_WEAK_CLOSURE_WEAK_HANDLES) \ |
70 F(MC_MARK_WEAK_CLOSURE_WEAK_ROOTS) \ | 71 F(MC_MARK_WEAK_CLOSURE_WEAK_ROOTS) \ |
71 F(MC_MARK_WEAK_CLOSURE_HARMONY) \ | 72 F(MC_MARK_WEAK_CLOSURE_HARMONY) \ |
72 F(MC_MARK_WRAPPER_EPILOGUE) \ | 73 F(MC_MARK_WRAPPER_EPILOGUE) \ |
73 F(MC_MARK_WRAPPER_PROLOGUE) \ | 74 F(MC_MARK_WRAPPER_PROLOGUE) \ |
74 F(MC_MARK_WRAPPER_TRACING) \ | 75 F(MC_MARK_WRAPPER_TRACING) \ |
75 F(MC_MARK_OBJECT_GROUPING) \ | 76 F(MC_MARK_OBJECT_GROUPING) \ |
| 77 F(MC_PROLOGUE) \ |
76 F(MC_SWEEP) \ | 78 F(MC_SWEEP) \ |
77 F(MC_SWEEP_CODE) \ | 79 F(MC_SWEEP_CODE) \ |
78 F(MC_SWEEP_MAP) \ | 80 F(MC_SWEEP_MAP) \ |
79 F(MC_SWEEP_OLD) \ | 81 F(MC_SWEEP_OLD) \ |
80 F(SCAVENGER_CODE_FLUSH_CANDIDATES) \ | 82 F(SCAVENGER_CODE_FLUSH_CANDIDATES) \ |
81 F(SCAVENGER_EXTERNAL_EPILOGUE) \ | 83 F(SCAVENGER_EXTERNAL_EPILOGUE) \ |
82 F(SCAVENGER_EXTERNAL_PROLOGUE) \ | 84 F(SCAVENGER_EXTERNAL_PROLOGUE) \ |
83 F(SCAVENGER_OBJECT_GROUPS) \ | 85 F(SCAVENGER_OBJECT_GROUPS) \ |
84 F(SCAVENGER_OLD_TO_NEW_POINTERS) \ | 86 F(SCAVENGER_OLD_TO_NEW_POINTERS) \ |
85 F(SCAVENGER_ROOTS) \ | 87 F(SCAVENGER_ROOTS) \ |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 base::RingBuffer<BytesAndDuration> recorded_old_generation_allocations_; | 427 base::RingBuffer<BytesAndDuration> recorded_old_generation_allocations_; |
426 base::RingBuffer<double> recorded_context_disposal_times_; | 428 base::RingBuffer<double> recorded_context_disposal_times_; |
427 base::RingBuffer<double> recorded_survival_ratios_; | 429 base::RingBuffer<double> recorded_survival_ratios_; |
428 | 430 |
429 DISALLOW_COPY_AND_ASSIGN(GCTracer); | 431 DISALLOW_COPY_AND_ASSIGN(GCTracer); |
430 }; | 432 }; |
431 } // namespace internal | 433 } // namespace internal |
432 } // namespace v8 | 434 } // namespace v8 |
433 | 435 |
434 #endif // V8_HEAP_GC_TRACER_H_ | 436 #endif // V8_HEAP_GC_TRACER_H_ |
OLD | NEW |