Index: src/heap/incremental-marking.h |
diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h |
index 3b3ba6e0609e37be9e2b20b96ecf9548588ff8bb..8b4aa86efc04250ef98174506a558d2e524cb425 100644 |
--- a/src/heap/incremental-marking.h |
+++ b/src/heap/incremental-marking.h |
@@ -208,7 +208,9 @@ class IncrementalMarking { |
bool IsIdleMarkingDelayCounterLimitReached(); |
- INLINE(static void MarkObject(Heap* heap, HeapObject* object)); |
+ static void MarkObject(Heap* heap, HeapObject* object); |
+ |
+ void IterateBlackObject(HeapObject* object); |
Heap* heap() const { return heap_; } |
@@ -216,6 +218,8 @@ class IncrementalMarking { |
return &incremental_marking_job_; |
} |
+ bool black_allocation() { return black_allocation_; } |
+ |
private: |
class Observer : public AllocationObserver { |
public: |
@@ -240,6 +244,9 @@ class IncrementalMarking { |
void StartMarking(); |
+ void StartBlackAllocation(); |
+ void FinishBlackAllocation(); |
+ |
void MarkRoots(); |
void MarkObjectGroups(); |
void ProcessWeakCells(); |
@@ -292,6 +299,8 @@ class IncrementalMarking { |
bool was_activated_; |
+ bool black_allocation_; |
+ |
bool finalize_marking_completed_; |
int incremental_marking_finalization_rounds_; |