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

Unified Diff: runtime/vm/thread.h

Issue 1350933004: Distinct block sizes for StoreBuffer/MarkingStack. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review comments. 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
« no previous file with comments | « runtime/vm/store_buffer.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index 5e14a8f42671885c8ee8c9b665a52d55890cf885..21b751b0980d4b5fa6fa14eba8462f7a6d4a05f1 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -129,7 +129,7 @@ class Thread {
return store_buffer_block_->Contains(obj);
}
#endif
- void StoreBufferBlockProcess(bool check_threshold);
+ void StoreBufferBlockProcess(StoreBuffer::ThresholdPolicy policy);
static intptr_t store_buffer_block_offset() {
return OFFSET_OF(Thread, store_buffer_block_);
}
@@ -309,7 +309,8 @@ LEAF_RUNTIME_ENTRY_LIST(DECLARE_MEMBERS)
memset(&state_, 0, sizeof(state_));
}
- void StoreBufferRelease(bool check_threshold = true);
+ void StoreBufferRelease(
+ StoreBuffer::ThresholdPolicy policy = StoreBuffer::kCheckThreshold);
void StoreBufferAcquire();
void set_zone(Zone* zone) {
« no previous file with comments | « runtime/vm/store_buffer.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698