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

Unified Diff: runtime/vm/store_buffer.h

Issue 1271833002: Chunk-wise marking stack processing. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add missing argument. Created 5 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
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/store_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/store_buffer.h
diff --git a/runtime/vm/store_buffer.h b/runtime/vm/store_buffer.h
index b1bd387e8fb87d8d657fd0a310adf5a94528ca57..edc307d0d375db121ba93a17c81353bb98f8fb50 100644
--- a/runtime/vm/store_buffer.h
+++ b/runtime/vm/store_buffer.h
@@ -88,8 +88,9 @@ class StoreBuffer {
// Partially filled blocks can be reused, and there is an "inifite" supply
// of empty blocks (reused or newly allocated). In any case, the caller
// takes ownership of the returned block.
- StoreBufferBlock* PopBlock();
+ StoreBufferBlock* PopNonFullBlock();
StoreBufferBlock* PopEmptyBlock();
+ StoreBufferBlock* PopNonEmptyBlock();
// Pops and returns all non-empty blocks as a linked list (owned by caller).
StoreBufferBlock* Blocks();
@@ -100,6 +101,8 @@ class StoreBuffer {
// Check whether non-empty blocks have exceeded kMaxNonEmpty.
bool Overflowed();
+ bool IsEmpty();
+
private:
class List {
public:
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/store_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698