| Index: src/heap/mark-compact.h
|
| diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
|
| index 7a8b1063a9414a6735c40bb1fcb7169628fab8a4..f7075d6e69afbab8bca89cfa607490283a9012ee 100644
|
| --- a/src/heap/mark-compact.h
|
| +++ b/src/heap/mark-compact.h
|
| @@ -544,11 +544,9 @@ class MarkCompactCollector {
|
| void EnableCodeFlushing(bool enable);
|
|
|
| enum SweeperType {
|
| - PARALLEL_CONSERVATIVE,
|
| - CONCURRENT_CONSERVATIVE,
|
| - PARALLEL_PRECISE,
|
| - CONCURRENT_PRECISE,
|
| - PRECISE
|
| + PARALLEL_SWEEPING,
|
| + CONCURRENT_SWEEPING,
|
| + SEQUENTIAL_SWEEPING
|
| };
|
|
|
| enum SweepingParallelism { SWEEP_ON_MAIN_THREAD, SWEEP_IN_PARALLEL };
|
| @@ -561,12 +559,6 @@ class MarkCompactCollector {
|
| void VerifyOmittedMapChecks();
|
| #endif
|
|
|
| - // Sweep a single page from the given space conservatively.
|
| - // Returns the size of the biggest continuous freed memory chunk in bytes.
|
| - template <SweepingParallelism type>
|
| - static int SweepConservatively(PagedSpace* space, FreeList* free_list,
|
| - Page* p);
|
| -
|
| INLINE(static bool ShouldSkipEvacuationSlotRecording(Object** anchor)) {
|
| return Page::FromAddress(reinterpret_cast<Address>(anchor))
|
| ->ShouldSkipEvacuationSlotRecording();
|
| @@ -693,10 +685,6 @@ class MarkCompactCollector {
|
| CollectorState state_;
|
| #endif
|
|
|
| - // Global flag that forces sweeping to be precise, so we can traverse the
|
| - // heap.
|
| - bool sweep_precisely_;
|
| -
|
| bool reduce_memory_footprint_;
|
|
|
| bool abort_incremental_marking_;
|
|
|