| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 public: | 96 public: |
| 97 class Scope { | 97 class Scope { |
| 98 public: | 98 public: |
| 99 enum ScopeId { | 99 enum ScopeId { |
| 100 EXTERNAL, | 100 EXTERNAL, |
| 101 MC_MARK, | 101 MC_MARK, |
| 102 MC_MARK_FINISH_INCREMENTAL, | 102 MC_MARK_FINISH_INCREMENTAL, |
| 103 MC_MARK_PREPARE_CODE_FLUSH, | 103 MC_MARK_PREPARE_CODE_FLUSH, |
| 104 MC_MARK_ROOT, | 104 MC_MARK_ROOT, |
| 105 MC_MARK_TOPOPT, | 105 MC_MARK_TOPOPT, |
| 106 MC_MARK_RETAIN_MAPS, | |
| 107 MC_MARK_WEAK_CLOSURE, | 106 MC_MARK_WEAK_CLOSURE, |
| 108 MC_MARK_STRING_TABLE, | 107 MC_MARK_STRING_TABLE, |
| 109 MC_MARK_WEAK_REFERENCES, | 108 MC_MARK_WEAK_REFERENCES, |
| 110 MC_MARK_GLOBAL_HANDLES, | 109 MC_MARK_GLOBAL_HANDLES, |
| 111 MC_MARK_CODE_FLUSH, | 110 MC_MARK_CODE_FLUSH, |
| 112 MC_STORE_BUFFER_CLEAR, | 111 MC_STORE_BUFFER_CLEAR, |
| 113 MC_SLOTS_BUFFER_CLEAR, | 112 MC_SLOTS_BUFFER_CLEAR, |
| 114 MC_SWEEP, | 113 MC_SWEEP, |
| 115 MC_SWEEP_NEWSPACE, | 114 MC_SWEEP_NEWSPACE, |
| 116 MC_SWEEP_OLDSPACE, | 115 MC_SWEEP_OLDSPACE, |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 | 600 |
| 602 // Counts how many tracers were started without stopping. | 601 // Counts how many tracers were started without stopping. |
| 603 int start_counter_; | 602 int start_counter_; |
| 604 | 603 |
| 605 DISALLOW_COPY_AND_ASSIGN(GCTracer); | 604 DISALLOW_COPY_AND_ASSIGN(GCTracer); |
| 606 }; | 605 }; |
| 607 } // namespace internal | 606 } // namespace internal |
| 608 } // namespace v8 | 607 } // namespace v8 |
| 609 | 608 |
| 610 #endif // V8_HEAP_GC_TRACER_H_ | 609 #endif // V8_HEAP_GC_TRACER_H_ |
| OLD | NEW |