| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_MARK_COMPACT_H_ | 5 #ifndef V8_MARK_COMPACT_H_ |
| 6 #define V8_MARK_COMPACT_H_ | 6 #define V8_MARK_COMPACT_H_ |
| 7 | 7 |
| 8 #include "src/compiler-intrinsics.h" | 8 #include "src/compiler-intrinsics.h" |
| 9 #include "src/spaces.h" | 9 #include "src/spaces.h" |
| 10 | 10 |
| (...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 | 728 |
| 729 // True if we are collecting slots to perform evacuation from evacuation | 729 // True if we are collecting slots to perform evacuation from evacuation |
| 730 // candidates. | 730 // candidates. |
| 731 bool compacting_; | 731 bool compacting_; |
| 732 | 732 |
| 733 bool was_marked_incrementally_; | 733 bool was_marked_incrementally_; |
| 734 | 734 |
| 735 // True if concurrent or parallel sweeping is currently in progress. | 735 // True if concurrent or parallel sweeping is currently in progress. |
| 736 bool sweeping_pending_; | 736 bool sweeping_pending_; |
| 737 | 737 |
| 738 Semaphore pending_sweeper_jobs_semaphore_; | 738 base::Semaphore pending_sweeper_jobs_semaphore_; |
| 739 | 739 |
| 740 bool sequential_sweeping_; | 740 bool sequential_sweeping_; |
| 741 | 741 |
| 742 // A pointer to the current stack-allocated GC tracer object during a full | 742 // A pointer to the current stack-allocated GC tracer object during a full |
| 743 // collection (NULL before and after). | 743 // collection (NULL before and after). |
| 744 GCTracer* tracer_; | 744 GCTracer* tracer_; |
| 745 | 745 |
| 746 SlotsBufferAllocator slots_buffer_allocator_; | 746 SlotsBufferAllocator slots_buffer_allocator_; |
| 747 | 747 |
| 748 SlotsBuffer* migration_slots_buffer_; | 748 SlotsBuffer* migration_slots_buffer_; |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 private: | 979 private: |
| 980 MarkCompactCollector* collector_; | 980 MarkCompactCollector* collector_; |
| 981 }; | 981 }; |
| 982 | 982 |
| 983 | 983 |
| 984 const char* AllocationSpaceName(AllocationSpace space); | 984 const char* AllocationSpaceName(AllocationSpace space); |
| 985 | 985 |
| 986 } } // namespace v8::internal | 986 } } // namespace v8::internal |
| 987 | 987 |
| 988 #endif // V8_MARK_COMPACT_H_ | 988 #endif // V8_MARK_COMPACT_H_ |
| OLD | NEW |