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 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 public: | 97 public: |
98 enum ScopeId { | 98 enum ScopeId { |
99 EXTERNAL, | 99 EXTERNAL, |
100 MC_MARK, | 100 MC_MARK, |
101 MC_SWEEP, | 101 MC_SWEEP, |
102 MC_SWEEP_NEWSPACE, | 102 MC_SWEEP_NEWSPACE, |
103 MC_SWEEP_OLDSPACE, | 103 MC_SWEEP_OLDSPACE, |
104 MC_SWEEP_CODE, | 104 MC_SWEEP_CODE, |
105 MC_SWEEP_CELL, | 105 MC_SWEEP_CELL, |
106 MC_SWEEP_MAP, | 106 MC_SWEEP_MAP, |
| 107 MC_RESCAN_LARGE_OBJECTS, |
107 MC_EVACUATE_PAGES, | 108 MC_EVACUATE_PAGES, |
108 MC_UPDATE_NEW_TO_NEW_POINTERS, | 109 MC_UPDATE_NEW_TO_NEW_POINTERS, |
109 MC_UPDATE_ROOT_TO_NEW_POINTERS, | 110 MC_UPDATE_ROOT_TO_NEW_POINTERS, |
110 MC_UPDATE_OLD_TO_NEW_POINTERS, | 111 MC_UPDATE_OLD_TO_NEW_POINTERS, |
111 MC_UPDATE_POINTERS_TO_EVACUATED, | 112 MC_UPDATE_POINTERS_TO_EVACUATED, |
112 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, | 113 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, |
113 MC_UPDATE_MISC_POINTERS, | 114 MC_UPDATE_MISC_POINTERS, |
114 MC_INCREMENTAL_WEAKCLOSURE, | 115 MC_INCREMENTAL_WEAKCLOSURE, |
115 MC_WEAKCLOSURE, | 116 MC_WEAKCLOSURE, |
116 MC_WEAKCOLLECTION_PROCESS, | 117 MC_WEAKCOLLECTION_PROCESS, |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 | 543 |
543 // Counts how many tracers were started without stopping. | 544 // Counts how many tracers were started without stopping. |
544 int start_counter_; | 545 int start_counter_; |
545 | 546 |
546 DISALLOW_COPY_AND_ASSIGN(GCTracer); | 547 DISALLOW_COPY_AND_ASSIGN(GCTracer); |
547 }; | 548 }; |
548 } | 549 } |
549 } // namespace v8::internal | 550 } // namespace v8::internal |
550 | 551 |
551 #endif // V8_HEAP_GC_TRACER_H_ | 552 #endif // V8_HEAP_GC_TRACER_H_ |
OLD | NEW |