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/platform/platform.h" | 8 #include "src/base/platform/platform.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 MC_MARK_STRING_TABLE, | 108 MC_MARK_STRING_TABLE, |
109 MC_MARK_WEAK_REFERENCES, | 109 MC_MARK_WEAK_REFERENCES, |
110 MC_MARK_GLOBAL_HANDLES, | 110 MC_MARK_GLOBAL_HANDLES, |
111 MC_MARK_CODE_FLUSH, | 111 MC_MARK_CODE_FLUSH, |
112 MC_SWEEP, | 112 MC_SWEEP, |
113 MC_SWEEP_NEWSPACE, | 113 MC_SWEEP_NEWSPACE, |
114 MC_SWEEP_OLDSPACE, | 114 MC_SWEEP_OLDSPACE, |
115 MC_SWEEP_CODE, | 115 MC_SWEEP_CODE, |
116 MC_SWEEP_CELL, | 116 MC_SWEEP_CELL, |
117 MC_SWEEP_MAP, | 117 MC_SWEEP_MAP, |
| 118 MC_SWEEP_ABORTED, |
118 MC_EVACUATE_PAGES, | 119 MC_EVACUATE_PAGES, |
119 MC_UPDATE_NEW_TO_NEW_POINTERS, | 120 MC_UPDATE_NEW_TO_NEW_POINTERS, |
120 MC_UPDATE_ROOT_TO_NEW_POINTERS, | 121 MC_UPDATE_ROOT_TO_NEW_POINTERS, |
121 MC_UPDATE_OLD_TO_NEW_POINTERS, | 122 MC_UPDATE_OLD_TO_NEW_POINTERS, |
122 MC_UPDATE_POINTERS_TO_EVACUATED, | 123 MC_UPDATE_POINTERS_TO_EVACUATED, |
123 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, | 124 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, |
124 MC_UPDATE_MISC_POINTERS, | 125 MC_UPDATE_MISC_POINTERS, |
125 MC_INCREMENTAL_WEAKCLOSURE, | 126 MC_INCREMENTAL_WEAKCLOSURE, |
126 MC_WEAKCLOSURE, | 127 MC_WEAKCLOSURE, |
127 MC_WEAKCOLLECTION_PROCESS, | 128 MC_WEAKCOLLECTION_PROCESS, |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 | 566 |
566 // Counts how many tracers were started without stopping. | 567 // Counts how many tracers were started without stopping. |
567 int start_counter_; | 568 int start_counter_; |
568 | 569 |
569 DISALLOW_COPY_AND_ASSIGN(GCTracer); | 570 DISALLOW_COPY_AND_ASSIGN(GCTracer); |
570 }; | 571 }; |
571 } // namespace internal | 572 } // namespace internal |
572 } // namespace v8 | 573 } // namespace v8 |
573 | 574 |
574 #endif // V8_HEAP_GC_TRACER_H_ | 575 #endif // V8_HEAP_GC_TRACER_H_ |
OLD | NEW |