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