OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_SCAVENGER_H_ | 5 #ifndef VM_SCAVENGER_H_ |
6 #define VM_SCAVENGER_H_ | 6 #define VM_SCAVENGER_H_ |
7 | 7 |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "platform/utils.h" |
9 #include "vm/flags.h" | 10 #include "vm/flags.h" |
10 #include "vm/globals.h" | 11 #include "vm/globals.h" |
11 #include "vm/raw_object.h" | 12 #include "vm/raw_object.h" |
12 #include "vm/utils.h" | |
13 #include "vm/virtual_memory.h" | 13 #include "vm/virtual_memory.h" |
14 #include "vm/visitor.h" | 14 #include "vm/visitor.h" |
15 | 15 |
16 namespace dart { | 16 namespace dart { |
17 | 17 |
18 // Forward declarations. | 18 // Forward declarations. |
19 class Heap; | 19 class Heap; |
20 class Isolate; | 20 class Isolate; |
21 | 21 |
22 DECLARE_FLAG(bool, gc_at_alloc); | 22 DECLARE_FLAG(bool, gc_at_alloc); |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 124 |
125 friend class ScavengerVisitor; | 125 friend class ScavengerVisitor; |
126 friend class ScavengerWeakVisitor; | 126 friend class ScavengerWeakVisitor; |
127 | 127 |
128 DISALLOW_COPY_AND_ASSIGN(Scavenger); | 128 DISALLOW_COPY_AND_ASSIGN(Scavenger); |
129 }; | 129 }; |
130 | 130 |
131 } // namespace dart | 131 } // namespace dart |
132 | 132 |
133 #endif // VM_SCAVENGER_H_ | 133 #endif // VM_SCAVENGER_H_ |
OLD | NEW |