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

Unified Diff: runtime/vm/isolate.h

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/dart.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index a93e869d2e1a9029c520dcb66c0dfa12f08f481d..0bf07a909a9b35771bf2030dfb67905a094c793e 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -14,7 +14,6 @@
#include "vm/megamorphic_cache_table.h"
#include "vm/metrics.h"
#include "vm/random.h"
-#include "vm/store_buffer.h"
#include "vm/tags.h"
#include "vm/thread.h"
#include "vm/os_thread.h"
@@ -76,6 +75,7 @@ class ServiceIdZone;
class Simulator;
class StackResource;
class StackZone;
+class StoreBuffer;
class StubCode;
class TypeArguments;
class TypeParameter;
@@ -141,7 +141,7 @@ class Isolate : public BaseIsolate {
bool visit_prologue_weak_persistent_handles);
void VisitPrologueWeakPersistentHandles(HandleVisitor* visitor);
- StoreBuffer* store_buffer() { return &store_buffer_; }
+ StoreBuffer* store_buffer() { return store_buffer_; }
ClassTable* class_table() { return &class_table_; }
static intptr_t class_table_offset() {
@@ -722,7 +722,7 @@ class Isolate : public BaseIsolate {
Thread* mutator_thread_;
uword vm_tag_;
- StoreBuffer store_buffer_;
+ StoreBuffer* store_buffer_;
ClassTable class_table_;
MegamorphicCacheTable megamorphic_cache_table_;
Dart_MessageNotifyCallback message_notify_callback_;
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698