| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_GC_MARKER_H_ | 5 #ifndef VM_GC_MARKER_H_ |
| 6 #define VM_GC_MARKER_H_ | 6 #define VM_GC_MARKER_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 void IterateWeakReferences(Isolate* isolate, MarkingVisitor* visitor); | 44 void IterateWeakReferences(Isolate* isolate, MarkingVisitor* visitor); |
| 45 void DrainMarkingStack(Isolate* isolate, MarkingVisitor* visitor); | 45 void DrainMarkingStack(Isolate* isolate, MarkingVisitor* visitor); |
| 46 void ProcessWeakProperty(RawWeakProperty* raw_weak, MarkingVisitor* visitor); | 46 void ProcessWeakProperty(RawWeakProperty* raw_weak, MarkingVisitor* visitor); |
| 47 void ProcessWeakTables(PageSpace* page_space); | 47 void ProcessWeakTables(PageSpace* page_space); |
| 48 void ProcessObjectIdTable(Isolate* isolate); | 48 void ProcessObjectIdTable(Isolate* isolate); |
| 49 | 49 |
| 50 | 50 |
| 51 Heap* heap_; | 51 Heap* heap_; |
| 52 intptr_t marked_bytes_; | 52 intptr_t marked_bytes_; |
| 53 | 53 |
| 54 friend class DrainTask; |
| 54 DISALLOW_IMPLICIT_CONSTRUCTORS(GCMarker); | 55 DISALLOW_IMPLICIT_CONSTRUCTORS(GCMarker); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 } // namespace dart | 58 } // namespace dart |
| 58 | 59 |
| 59 #endif // VM_GC_MARKER_H_ | 60 #endif // VM_GC_MARKER_H_ |
| OLD | NEW |