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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 public: | 98 public: |
99 enum ScopeId { | 99 enum ScopeId { |
100 EXTERNAL, | 100 EXTERNAL, |
101 MC_MARK, | 101 MC_MARK, |
102 MC_SWEEP, | 102 MC_SWEEP, |
103 MC_SWEEP_NEWSPACE, | 103 MC_SWEEP_NEWSPACE, |
104 MC_SWEEP_OLDSPACE, | 104 MC_SWEEP_OLDSPACE, |
105 MC_SWEEP_CODE, | 105 MC_SWEEP_CODE, |
106 MC_SWEEP_CELL, | 106 MC_SWEEP_CELL, |
107 MC_SWEEP_MAP, | 107 MC_SWEEP_MAP, |
108 MC_RESCAN_LARGE_OBJECTS, | |
109 MC_EVACUATE_PAGES, | 108 MC_EVACUATE_PAGES, |
110 MC_UPDATE_NEW_TO_NEW_POINTERS, | 109 MC_UPDATE_NEW_TO_NEW_POINTERS, |
111 MC_UPDATE_ROOT_TO_NEW_POINTERS, | 110 MC_UPDATE_ROOT_TO_NEW_POINTERS, |
112 MC_UPDATE_OLD_TO_NEW_POINTERS, | 111 MC_UPDATE_OLD_TO_NEW_POINTERS, |
113 MC_UPDATE_POINTERS_TO_EVACUATED, | 112 MC_UPDATE_POINTERS_TO_EVACUATED, |
114 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, | 113 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, |
115 MC_UPDATE_MISC_POINTERS, | 114 MC_UPDATE_MISC_POINTERS, |
116 MC_INCREMENTAL_WEAKCLOSURE, | 115 MC_INCREMENTAL_WEAKCLOSURE, |
117 MC_WEAKCLOSURE, | 116 MC_WEAKCLOSURE, |
118 MC_WEAKCOLLECTION_PROCESS, | 117 MC_WEAKCOLLECTION_PROCESS, |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 | 550 |
552 // Counts how many tracers were started without stopping. | 551 // Counts how many tracers were started without stopping. |
553 int start_counter_; | 552 int start_counter_; |
554 | 553 |
555 DISALLOW_COPY_AND_ASSIGN(GCTracer); | 554 DISALLOW_COPY_AND_ASSIGN(GCTracer); |
556 }; | 555 }; |
557 } | 556 } |
558 } // namespace v8::internal | 557 } // namespace v8::internal |
559 | 558 |
560 #endif // V8_HEAP_GC_TRACER_H_ | 559 #endif // V8_HEAP_GC_TRACER_H_ |
OLD | NEW |