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

Unified Diff: runtime/vm/stub_code.h

Issue 2032153003: Use clustered serialization for full snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: round2 Created 4 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/snapshot_test.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code.h
diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h
index 8232a4b2fa57d14126bc8c8e4596cf9b06768153..0cf7c267f7625b6b1092f8fc4a086071fb85b672 100644
--- a/runtime/vm/stub_code.h
+++ b/runtime/vm/stub_code.h
@@ -17,6 +17,8 @@ class ObjectPointerVisitor;
class RawCode;
class SnapshotReader;
class SnapshotWriter;
+class Serializer;
+class Deserializer;
// List of stubs created in the VM isolate, these stubs are shared by different
// isolates running in this dart process.
@@ -112,8 +114,9 @@ class StubCode : public AllStatic {
// only once and the stub code resides in the vm_isolate heap.
static void InitOnce();
- static void ReadFrom(SnapshotReader* reader);
- static void WriteTo(SnapshotWriter* writer);
+ static void Push(Serializer* serializer);
+ static void WriteRef(Serializer* serializer);
+ static void ReadRef(Deserializer* deserializer);
// Generate all stubs which are generated on a per isolate basis as they
// have embedded objects which are isolate specific.
« no previous file with comments | « runtime/vm/snapshot_test.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698