Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1708)

Side by Side Diff: runtime/vm/gc_marker.h

Issue 17992002: - Add a WeakTable to the VM. This is used to remember the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/gc_marker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/gc_marker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698