| Index: src/heap/incremental-marking.h
|
| diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h
|
| index 4bcb1b433e65e01ad4372b2216cf57950e738f17..8ad12bc79f95065c3c30efbc1f0389e35135ce22 100644
|
| --- a/src/heap/incremental-marking.h
|
| +++ b/src/heap/incremental-marking.h
|
| @@ -62,7 +62,9 @@
|
|
|
| bool WasActivated();
|
|
|
| - void Start();
|
| + enum CompactionFlag { ALLOW_COMPACTION, PREVENT_COMPACTION };
|
| +
|
| + void Start(CompactionFlag flag = ALLOW_COMPACTION);
|
|
|
| void Stop();
|
|
|
| @@ -201,7 +203,7 @@
|
|
|
| void ResetStepCounters();
|
|
|
| - void StartMarking();
|
| + void StartMarking(CompactionFlag flag);
|
|
|
| void ActivateIncrementalWriteBarrier(PagedSpace* space);
|
| static void ActivateIncrementalWriteBarrier(NewSpace* space);
|
|
|