Index: src/heap/incremental-marking.h |
diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h |
index 6a6f8c4abb5498fb3cc61643733b6ebfc14225bc..7d41cfef4156dc73f46abb3180f95baf9f625a3b 100644 |
--- a/src/heap/incremental-marking.h |
+++ b/src/heap/incremental-marking.h |
@@ -67,7 +67,9 @@ class IncrementalMarking { |
bool WasActivated(); |
- void Start(); |
+ enum CompactionFlag { ALLOW_COMPACTION, PREVENT_COMPACTION }; |
+ |
+ void Start(CompactionFlag flag = ALLOW_COMPACTION); |
void Stop(); |
@@ -206,7 +208,7 @@ class IncrementalMarking { |
void ResetStepCounters(); |
- void StartMarking(); |
+ void StartMarking(CompactionFlag flag); |
void ActivateIncrementalWriteBarrier(PagedSpace* space); |
static void ActivateIncrementalWriteBarrier(NewSpace* space); |