| 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_PAGES_H_ | 5 #ifndef VM_PAGES_H_ |
| 6 #define VM_PAGES_H_ | 6 #define VM_PAGES_H_ |
| 7 | 7 |
| 8 #include "vm/freelist.h" | 8 #include "vm/freelist.h" |
| 9 #include "vm/globals.h" | 9 #include "vm/globals.h" |
| 10 #include "vm/lockers.h" | 10 #include "vm/lockers.h" |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 // Keep track of running MarkSweep tasks. | 412 // Keep track of running MarkSweep tasks. |
| 413 Monitor* tasks_lock_; | 413 Monitor* tasks_lock_; |
| 414 intptr_t tasks_; | 414 intptr_t tasks_; |
| 415 | 415 |
| 416 PageSpaceController page_space_controller_; | 416 PageSpaceController page_space_controller_; |
| 417 | 417 |
| 418 int64_t gc_time_micros_; | 418 int64_t gc_time_micros_; |
| 419 intptr_t collections_; | 419 intptr_t collections_; |
| 420 | 420 |
| 421 friend class ExclusivePageIterator; | 421 friend class ExclusivePageIterator; |
| 422 friend class ExclusiveCodePageIterator; |
| 423 friend class ExclusiveLargePageIterator; |
| 422 friend class PageSpaceController; | 424 friend class PageSpaceController; |
| 423 friend class SweeperTask; | 425 friend class SweeperTask; |
| 424 | 426 |
| 425 DISALLOW_IMPLICIT_CONSTRUCTORS(PageSpace); | 427 DISALLOW_IMPLICIT_CONSTRUCTORS(PageSpace); |
| 426 }; | 428 }; |
| 427 | 429 |
| 428 } // namespace dart | 430 } // namespace dart |
| 429 | 431 |
| 430 #endif // VM_PAGES_H_ | 432 #endif // VM_PAGES_H_ |
| OLD | NEW |