| 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 23 matching lines...) Expand all Loading... |
| 34 void Epilogue(Isolate* isolate, bool invoke_api_callbacks); | 34 void Epilogue(Isolate* isolate, bool invoke_api_callbacks); |
| 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 ProcessPeerReferents(PageSpace* page_space); | 44 void ProcessWeakTables(PageSpace* page_space); |
| 45 | 45 |
| 46 Heap* heap_; | 46 Heap* heap_; |
| 47 | 47 |
| 48 DISALLOW_IMPLICIT_CONSTRUCTORS(GCMarker); | 48 DISALLOW_IMPLICIT_CONSTRUCTORS(GCMarker); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace dart | 51 } // namespace dart |
| 52 | 52 |
| 53 #endif // VM_GC_MARKER_H_ | 53 #endif // VM_GC_MARKER_H_ |
| OLD | NEW |