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 24 matching lines...) Expand all Loading... |
35 void IterateRoots(Isolate* isolate, | 35 void IterateRoots(Isolate* isolate, |
36 ObjectPointerVisitor* visitor, | 36 ObjectPointerVisitor* visitor, |
37 bool visit_prologue_weak_persistent_handles); | 37 bool visit_prologue_weak_persistent_handles); |
38 void IterateWeakRoots(Isolate* isolate, | 38 void IterateWeakRoots(Isolate* isolate, |
39 HandleVisitor* visitor, | 39 HandleVisitor* visitor, |
40 bool visit_prologue_weak_persistent_handles); | 40 bool visit_prologue_weak_persistent_handles); |
41 void IterateWeakReferences(Isolate* isolate, MarkingVisitor* visitor); | 41 void IterateWeakReferences(Isolate* isolate, MarkingVisitor* visitor); |
42 void DrainMarkingStack(Isolate* isolate, MarkingVisitor* visitor); | 42 void DrainMarkingStack(Isolate* isolate, MarkingVisitor* visitor); |
43 void ProcessWeakProperty(RawWeakProperty* raw_weak, MarkingVisitor* visitor); | 43 void ProcessWeakProperty(RawWeakProperty* raw_weak, MarkingVisitor* visitor); |
44 void ProcessWeakTables(PageSpace* page_space); | 44 void ProcessWeakTables(PageSpace* page_space); |
| 45 void ProcessObjectIdTable(); |
| 46 |
45 | 47 |
46 Heap* heap_; | 48 Heap* heap_; |
47 | 49 |
48 DISALLOW_IMPLICIT_CONSTRUCTORS(GCMarker); | 50 DISALLOW_IMPLICIT_CONSTRUCTORS(GCMarker); |
49 }; | 51 }; |
50 | 52 |
51 } // namespace dart | 53 } // namespace dart |
52 | 54 |
53 #endif // VM_GC_MARKER_H_ | 55 #endif // VM_GC_MARKER_H_ |
OLD | NEW |