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

Unified Diff: runtime/vm/isolate.cc

Issue 1346473002: Move megamorphic cache table into the Dart heap. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 | « no previous file | runtime/vm/megamorphic_cache_table.h » ('j') | runtime/vm/megamorphic_cache_table.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 0c992e107299e90b5e28aabe6b28ebb5fd0192bd..97a41c33aea6ea99a9b1c72733125f514e69d830 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -656,6 +656,7 @@ Isolate::Isolate(const Dart_IsolateFlags& api_flags)
: vm_tag_(0),
store_buffer_(new StoreBuffer()),
thread_registry_(new ThreadRegistry()),
+ megamorphic_cache_table_(this),
message_notify_callback_(NULL),
name_(NULL),
debugger_name_(NULL),
@@ -1623,9 +1624,6 @@ void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor,
// Visit objects in the class table.
class_table()->VisitObjectPointers(visitor);
- // Visit objects in the megamorphic cache.
- megamorphic_cache_table()->VisitObjectPointers(visitor);
-
// Visit objects in per isolate stubs.
StubCode::VisitObjectPointers(visitor);
« no previous file with comments | « no previous file | runtime/vm/megamorphic_cache_table.h » ('j') | runtime/vm/megamorphic_cache_table.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698