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_SWEEPER_H_ | 5 #ifndef RUNTIME_VM_GC_SWEEPER_H_ |
6 #define VM_GC_SWEEPER_H_ | 6 #define RUNTIME_VM_GC_SWEEPER_H_ |
7 | 7 |
8 #include "vm/globals.h" | 8 #include "vm/globals.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
11 | 11 |
12 // Forward declarations. | 12 // Forward declarations. |
13 class FreeList; | 13 class FreeList; |
14 class Heap; | 14 class Heap; |
15 class HeapPage; | 15 class HeapPage; |
16 class Isolate; | 16 class Isolate; |
(...skipping 19 matching lines...) Expand all Loading... |
36 | 36 |
37 // Sweep the regular sized data pages between first and last inclusive. | 37 // Sweep the regular sized data pages between first and last inclusive. |
38 static void SweepConcurrent(Isolate* isolate, | 38 static void SweepConcurrent(Isolate* isolate, |
39 HeapPage* first, | 39 HeapPage* first, |
40 HeapPage* last, | 40 HeapPage* last, |
41 FreeList* freelist); | 41 FreeList* freelist); |
42 }; | 42 }; |
43 | 43 |
44 } // namespace dart | 44 } // namespace dart |
45 | 45 |
46 #endif // VM_GC_SWEEPER_H_ | 46 #endif // RUNTIME_VM_GC_SWEEPER_H_ |
OLD | NEW |