Index: src/compiler-dispatcher/optimizing-compile-dispatcher.h |
diff --git a/src/compiler-dispatcher/optimizing-compile-dispatcher.h b/src/compiler-dispatcher/optimizing-compile-dispatcher.h |
index 5a9486d1771c81fbc7617de3c3a5947377c9999c..5b4ad8a4d626ca75082520b9abbf1f6302acba9b 100644 |
--- a/src/compiler-dispatcher/optimizing-compile-dispatcher.h |
+++ b/src/compiler-dispatcher/optimizing-compile-dispatcher.h |
@@ -33,7 +33,7 @@ class V8_EXPORT_PRIVATE OptimizingCompileDispatcher { |
blocked_jobs_(0), |
ref_count_(0), |
recompilation_delay_(FLAG_concurrent_recompilation_delay) { |
- base::NoBarrier_Store(&mode_, static_cast<base::AtomicWord>(COMPILE)); |
+ base::Relaxed_Store(&mode_, static_cast<base::AtomicWord>(COMPILE)); |
input_queue_ = NewArray<CompilationJob*>(input_queue_capacity_); |
} |