| 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" |
| 11 #include "vm/ring_buffer.h" | 11 #include "vm/ring_buffer.h" |
| 12 #include "vm/spaces.h" | 12 #include "vm/spaces.h" |
| 13 #include "vm/thread.h" | 13 #include "vm/thread.h" |
| 14 #include "vm/virtual_memory.h" | 14 #include "vm/virtual_memory.h" |
| 15 | 15 |
| 16 namespace dart { | 16 namespace dart { |
| 17 | 17 |
| 18 DECLARE_FLAG(bool, collect_code); |
| 18 DECLARE_FLAG(bool, log_code_drop); | 19 DECLARE_FLAG(bool, log_code_drop); |
| 19 DECLARE_FLAG(bool, always_drop_code); | 20 DECLARE_FLAG(bool, always_drop_code); |
| 20 DECLARE_FLAG(bool, write_protect_code); | 21 DECLARE_FLAG(bool, write_protect_code); |
| 21 | 22 |
| 22 // Forward declarations. | 23 // Forward declarations. |
| 23 class Heap; | 24 class Heap; |
| 24 class JSONObject; | 25 class JSONObject; |
| 25 class ObjectPointerVisitor; | 26 class ObjectPointerVisitor; |
| 26 | 27 |
| 27 // A page containing old generation objects. | 28 // A page containing old generation objects. |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 friend class HeapIterationScope; | 449 friend class HeapIterationScope; |
| 449 friend class PageSpaceController; | 450 friend class PageSpaceController; |
| 450 friend class SweeperTask; | 451 friend class SweeperTask; |
| 451 | 452 |
| 452 DISALLOW_IMPLICIT_CONSTRUCTORS(PageSpace); | 453 DISALLOW_IMPLICIT_CONSTRUCTORS(PageSpace); |
| 453 }; | 454 }; |
| 454 | 455 |
| 455 } // namespace dart | 456 } // namespace dart |
| 456 | 457 |
| 457 #endif // VM_PAGES_H_ | 458 #endif // VM_PAGES_H_ |
| OLD | NEW |