| Index: src/profiler/cpu-profiler.cc
|
| diff --git a/src/profiler/cpu-profiler.cc b/src/profiler/cpu-profiler.cc
|
| index 85f9d5e47539e753b75476f10fb4353a16d06aa4..cff8c79955a1057e2a454fffa698702546486712 100644
|
| --- a/src/profiler/cpu-profiler.cc
|
| +++ b/src/profiler/cpu-profiler.cc
|
| @@ -92,7 +92,7 @@ void ProfilerEventsProcessor::AddCurrentStack(Isolate* isolate,
|
|
|
|
|
| void ProfilerEventsProcessor::StopSynchronously() {
|
| - if (!base::NoBarrier_AtomicExchange(&running_, 0)) return;
|
| + if (!base::Relaxed_AtomicExchange(&running_, 0)) return;
|
| Join();
|
| }
|
|
|
| @@ -143,7 +143,7 @@ ProfilerEventsProcessor::SampleProcessingResult
|
|
|
|
|
| void ProfilerEventsProcessor::Run() {
|
| - while (!!base::NoBarrier_Load(&running_)) {
|
| + while (!!base::Relaxed_Load(&running_)) {
|
| base::TimeTicks nextSampleTime =
|
| base::TimeTicks::HighResolutionNow() + period_;
|
| base::TimeTicks now;
|
|
|