| 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 #include "vm/os_thread.h" // Mutex. |
| 9 | 10 |
| 10 namespace dart { | 11 namespace dart { |
| 11 | 12 |
| 12 // Forward declarations. | 13 // Forward declarations. |
| 13 class HandleVisitor; | 14 class HandleVisitor; |
| 14 class Heap; | 15 class Heap; |
| 15 class Isolate; | 16 class Isolate; |
| 16 class MarkingVisitor; | 17 class MarkingVisitor; |
| 17 class ObjectPointerVisitor; | 18 class ObjectPointerVisitor; |
| 18 class PageSpace; | 19 class PageSpace; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // TODO(koda): Remove after verifying it's redundant w.r.t. ClassHeapStats. | 56 // TODO(koda): Remove after verifying it's redundant w.r.t. ClassHeapStats. |
| 56 uintptr_t marked_bytes_; | 57 uintptr_t marked_bytes_; |
| 57 | 58 |
| 58 friend class MarkTask; | 59 friend class MarkTask; |
| 59 DISALLOW_IMPLICIT_CONSTRUCTORS(GCMarker); | 60 DISALLOW_IMPLICIT_CONSTRUCTORS(GCMarker); |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 } // namespace dart | 63 } // namespace dart |
| 63 | 64 |
| 64 #endif // VM_GC_MARKER_H_ | 65 #endif // VM_GC_MARKER_H_ |
| OLD | NEW |