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

Unified Diff: runtime/vm/isolate.cc

Issue 1123813002: Move symbol table from per isolate snapshot to vm isolate snapshot, this reduces the per isolate in… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 7 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_api_message.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
===================================================================
--- runtime/vm/isolate.cc (revision 45789)
+++ runtime/vm/isolate.cc (working copy)
@@ -57,7 +57,6 @@
// Quick access to the locally defined isolate() method.
#define I (isolate())
-
#if defined(DEBUG)
// Helper class to ensure that a live origin_id is never reused
// and assigned to an isolate.
@@ -371,8 +370,9 @@
}
// Parse the message.
- SnapshotReader reader(message->data(), message->len(), Snapshot::kMessage,
- I, zone.GetZone());
+ MessageSnapshotReader reader(message->data(),
+ message->len(),
+ I, zone.GetZone());
const Object& msg_obj = Object::Handle(I, reader.ReadObject());
if (msg_obj.IsError()) {
// An error occurred while reading the message.
@@ -676,6 +676,7 @@
tag_table_(GrowableObjectArray::null()),
current_tag_(UserTag::null()),
default_tag_(UserTag::null()),
+ deoptimized_code_array_(GrowableObjectArray::null()),
metrics_list_head_(NULL),
cha_(NULL),
next_(NULL),
@@ -1864,7 +1865,10 @@
if (obj_data == NULL) {
return Instance::null();
}
- SnapshotReader reader(obj_data, obj_len, Snapshot::kMessage, isolate, zone);
+ MessageSnapshotReader reader(obj_data,
+ obj_len,
+ isolate,
+ zone);
const Object& obj = Object::Handle(isolate, reader.ReadObject());
ASSERT(!obj.IsError());
Instance& instance = Instance::Handle(isolate);
« no previous file with comments | « runtime/vm/dart_api_message.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698