Index: src/heap/mark-compact.h |
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h |
index 859276db34469a14df02e0a4f8b787fba6be365e..0e5d860e774be668385a3c6c86c2b911ddd81a28 100644 |
--- a/src/heap/mark-compact.h |
+++ b/src/heap/mark-compact.h |
@@ -467,7 +467,7 @@ class MarkCompactCollector { |
SweepingList sweeping_list_[kAllocationSpaces]; |
bool sweeping_in_progress_; |
bool late_pages_; |
- int num_sweeping_tasks_; |
+ base::AtomicNumber<intptr_t> num_sweeping_tasks_; |
}; |
enum IterationMode { |