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

Unified Diff: src/heap/heap.h

Issue 1324153003: Add template parameter and unittests to atomic utils. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fighting c++ Created 5 years, 3 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
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 2f9bf0c2fe5e6ac74504c35523cd08caaed47a76..f451d4aaeec5ec17778c7f43969d26291747df46 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -2138,7 +2138,7 @@ class Heap {
// This is not the depth of nested AlwaysAllocateScope's but rather a single
// count, as scopes can be acquired from multiple tasks (read: threads).
- AtomicValue always_allocate_scope_count_;
+ AtomicNumber<size_t> always_allocate_scope_count_;
// For keeping track of context disposals.
int contexts_disposed_;

Powered by Google App Engine
This is Rietveld 408576698