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

Unified Diff: runtime/vm/clustered_snapshot.h

Issue 2909403002: When deduplicating program metadata, try to use objects from the VM isolate. (Closed)
Patch Set: sync Created 3 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/clustered_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/clustered_snapshot.h
diff --git a/runtime/vm/clustered_snapshot.h b/runtime/vm/clustered_snapshot.h
index f68c6b8cc2bc9f1c30a06ee2bcab820e9f13f05d..0dfc40515bf9385fd4bc2fcbe04e61f9182fe2b1 100644
--- a/runtime/vm/clustered_snapshot.h
+++ b/runtime/vm/clustered_snapshot.h
@@ -121,7 +121,9 @@ class Serializer : public StackResource {
ImageWriter* image_writer_);
~Serializer();
- intptr_t WriteVMSnapshot(const Array& symbols, const Array& scripts);
+ intptr_t WriteVMSnapshot(const Array& symbols,
+ ZoneGrowableArray<Object*>* seed_objects,
+ ZoneGrowableArray<Code*>* seed_code);
void WriteIsolateSnapshot(intptr_t num_base_objects,
ObjectStore* object_store);
@@ -419,7 +421,8 @@ class FullSnapshotWriter {
ForwardList* forward_list_;
ImageWriter* vm_image_writer_;
ImageWriter* isolate_image_writer_;
- Array& token_streams_;
+ ZoneGrowableArray<Object*>* seed_objects_;
+ ZoneGrowableArray<Code*>* seed_code_;
Array& saved_symbol_table_;
Array& new_vm_symbol_table_;
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698