Index: src/heap/mark-compact.h |
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
index 527800f4d181bec8b8726328bb0aaed86a8adb19..da75d6c983c983518e88893d6ed520db9ff76080 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 by corresponding spaces |
+ // (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; |