Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(910)

Unified Diff: src/profiler/unbound-queue-inl.h

Issue 2912773002: Rename "NoBarrier" memory operations to "Relaxed". (Closed)
Patch Set: comment Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/profiler/cpu-profiler.cc ('k') | src/tracing/trace-event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/profiler/unbound-queue-inl.h
diff --git a/src/profiler/unbound-queue-inl.h b/src/profiler/unbound-queue-inl.h
index 8c45d09861233f2af4d9a1996e4f3dda62c3631e..9d45903e040d3ad1db4cb7fec0060612e6d80ad9 100644
--- a/src/profiler/unbound-queue-inl.h
+++ b/src/profiler/unbound-queue-inl.h
@@ -66,7 +66,7 @@ void UnboundQueue<Record>::Enqueue(const Record& rec) {
template<typename Record>
bool UnboundQueue<Record>::IsEmpty() const {
- return base::NoBarrier_Load(&divider_) == base::NoBarrier_Load(&last_);
+ return base::Relaxed_Load(&divider_) == base::Relaxed_Load(&last_);
}
« no previous file with comments | « src/profiler/cpu-profiler.cc ('k') | src/tracing/trace-event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698