Index: src/heap/incremental-marking.h |
diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h |
index b412f0fffe45c17482b3b08d0169c27c645a9703..726efb3d122da83625c81c3877f4f1a9576ea8ba 100644 |
--- a/src/heap/incremental-marking.h |
+++ b/src/heap/incremental-marking.h |
@@ -182,6 +182,12 @@ class V8_EXPORT_PRIVATE IncrementalMarking { |
static const intptr_t kActivationThreshold = 0; |
#endif |
+#if V8_CONCURRENT_MARKING |
+ static const MarkBit::AccessMode kAtomicity = MarkBit::AccessMode::ATOMIC; |
+#else |
+ static const MarkBit::AccessMode kAtomicity = MarkBit::AccessMode::NON_ATOMIC; |
+#endif |
+ |
void FinalizeSweeping(); |
size_t Step(size_t bytes_to_process, CompletionAction action, |