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

Unified Diff: runtime/vm/thread.cc

Issue 1271833002: Chunk-wise marking stack processing. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Encapsulate visitor's interface to marking stack in WorkList inner class. 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
« runtime/vm/store_buffer.h ('K') | « runtime/vm/store_buffer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.cc
diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc
index aa4f67ea92a647b00488f466a0e6f9ed26af02e4..9dd0e47a9830e97f13d762e9cf1cd00a07533204 100644
--- a/runtime/vm/thread.cc
+++ b/runtime/vm/thread.cc
@@ -139,7 +139,7 @@ void Thread::EnterIsolate(Isolate* isolate) {
isolate->set_thread_state(thread_state);
isolate->set_vm_tag(VMTag::kVMTagId);
ASSERT(thread->store_buffer_block_ == NULL);
- thread->store_buffer_block_ = isolate->store_buffer()->PopBlock();
+ thread->store_buffer_block_ = isolate->store_buffer()->PopNonFullBlock();
ASSERT(isolate->heap() != NULL);
thread->heap_ = isolate->heap();
thread->Schedule(isolate);
@@ -213,7 +213,7 @@ void Thread::StoreBufferBlockProcess(bool check_threshold) {
StoreBufferBlock* block = store_buffer_block_;
store_buffer_block_ = NULL;
sb->PushBlock(block, check_threshold);
- store_buffer_block_ = sb->PopBlock();
+ store_buffer_block_ = sb->PopNonFullBlock();
}
« runtime/vm/store_buffer.h ('K') | « runtime/vm/store_buffer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698