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

Unified Diff: runtime/vm/isolate.cc

Issue 1339363002: Reapply "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 | « runtime/vm/isolate.h ('k') | runtime/vm/megamorphic_cache_table.h » ('j') | no next file with comments »
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..379287a67b4f94a77a36c0263c45cb0529b70d12 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -1544,7 +1544,7 @@ void Isolate::Shutdown() {
if (FLAG_trace_isolates) {
heap()->PrintSizes();
- megamorphic_cache_table()->PrintSizes();
+ MegamorphicCacheTable::PrintSizes(this);
Symbols::DumpStats();
OS::Print("[-] Stopping isolate:\n"
"\tisolate: %s\n", name());
@@ -1623,9 +1623,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 | « runtime/vm/isolate.h ('k') | runtime/vm/megamorphic_cache_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698