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

Unified Diff: src/heap/spaces.cc

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/heap/objects-visiting.h ('k') | src/ic/ic-stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/spaces.cc
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc
index 66e7defe77f6ced0d6994f554ac03c37fe30b98c..3152296af1d9e6f416085a1ffe532209cad6764d 100644
--- a/src/heap/spaces.cc
+++ b/src/heap/spaces.cc
@@ -2841,7 +2841,7 @@ size_t FreeListCategory::SumFreeList() {
FreeSpace* cur = top();
while (cur != NULL) {
DCHECK(cur->map() == cur->GetHeap()->root(Heap::kFreeSpaceMapRootIndex));
- sum += cur->nobarrier_size();
+ sum += cur->relaxed_read_size();
cur = cur->next();
}
return sum;
« no previous file with comments | « src/heap/objects-visiting.h ('k') | src/ic/ic-stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698