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

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

Issue 1176183002: Refactor delay set to allow more than one marking visitor (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Drain marking stack on a separate thread, just to show we can. Created 5 years, 6 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
« no previous file with comments | « no previous file | runtime/vm/gc_marker.cc » ('j') | runtime/vm/gc_marker.cc » ('J')
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/gc_marker.cc » ('j') | runtime/vm/gc_marker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698