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

Unified Diff: runtime/vm/store_buffer.h

Issue 503363005: - Add and enable concurrent sweeper. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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
« runtime/vm/heap.cc ('K') | « runtime/vm/scavenger.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/store_buffer.h
===================================================================
--- runtime/vm/store_buffer.h (revision 39573)
+++ runtime/vm/store_buffer.h (working copy)
@@ -52,6 +52,11 @@
class StoreBuffer {
public:
StoreBuffer() : blocks_(new StoreBufferBlock(NULL)), full_count_(0) {}
+ explicit StoreBuffer(bool shallow_copy) : blocks_(NULL), full_count_(0) {
+ // The value shallow_copy is only used to select this non-allocating
+ // constructor. It is always expected to be true.
+ ASSERT(shallow_copy);
+ }
~StoreBuffer();
intptr_t Count() const {
« runtime/vm/heap.cc ('K') | « runtime/vm/scavenger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698