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

Unified Diff: runtime/vm/thread.cc

Issue 1173043002: Reuse empty StoreBufferBlocks. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 5 years, 6 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/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 fe81e56cc89d1510ef7e99356e55036fd2fa62a2..ba6db93eacd7aeb166d49bbcbba0c59c8719d911 100644
--- a/runtime/vm/thread.cc
+++ b/runtime/vm/thread.cc
@@ -142,7 +142,7 @@ void Thread::StoreBufferBlockProcess(bool check_threshold) {
void Thread::StoreBufferAddObject(RawObject* obj) {
- store_buffer_block_->Add(obj);
+ store_buffer_block_->Push(obj);
if (store_buffer_block_->IsFull()) {
StoreBufferBlockProcess(true);
}
@@ -150,7 +150,7 @@ void Thread::StoreBufferAddObject(RawObject* obj) {
void Thread::StoreBufferAddObjectGC(RawObject* obj) {
- store_buffer_block_->Add(obj);
+ store_buffer_block_->Push(obj);
if (store_buffer_block_->IsFull()) {
StoreBufferBlockProcess(false);
}
« no previous file with comments | « runtime/vm/store_buffer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698