Chromium Code Reviews| Index: src/heap/mark-compact.h |
| diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
| index 527800f4d181bec8b8726328bb0aaed86a8adb19..7612132be0e713e00a209253ae6f97eab6087e8d 100644 |
| --- a/src/heap/mark-compact.h |
| +++ b/src/heap/mark-compact.h |
| @@ -466,8 +466,6 @@ class MarkCompactCollector { |
| // return true if the sweeper threads are done processing the pages. |
| bool IsSweepingCompleted(); |
| - void RefillFreeList(PagedSpace* space); |
| - |
| // Checks if sweeping is in progress right now on any space. |
| bool sweeping_in_progress() { return sweeping_in_progress_; } |
| @@ -512,6 +510,20 @@ class MarkCompactCollector { |
| // address range. |
| void RemoveObjectSlots(Address start_slot, Address end_slot); |
| + // |
| + // Free lists filled by sweeper and consumed byh corresponding spaces |
|
Hannes Payer (out of office)
2015/10/12 16:38:25
by
Michael Lippautz
2015/10/12 17:16:46
Done.
|
| + // (including compaction spaces). |
| + // |
| + base::SmartPointer<FreeList>& free_list_old_space() { |
| + return free_list_old_space_; |
| + } |
| + base::SmartPointer<FreeList>& free_list_code_space() { |
| + return free_list_code_space_; |
| + } |
| + base::SmartPointer<FreeList>& free_list_map_space() { |
| + return free_list_map_space_; |
| + } |
| + |
| private: |
| class CompactionTask; |
| class SweeperTask; |