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

Unified Diff: src/snapshot/serialize.h

Issue 1173013002: Deserializer: flush code objects in large object space. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/snapshot/serialize.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/serialize.h
diff --git a/src/snapshot/serialize.h b/src/snapshot/serialize.h
index ccb1c05e7d3f5cd9265cdd906ffe0c639f60741a..775658285835248bf116f776cb9b6d2da72feb2b 100644
--- a/src/snapshot/serialize.h
+++ b/src/snapshot/serialize.h
@@ -572,9 +572,7 @@ class Deserializer: public SerializerDeserializer {
Address Allocate(int space_index, int size);
// Special handling for serialized code like hooking up internalized strings.
- HeapObject* PostProcessNewObject(HeapObject* obj);
-
- void RelinkAllocationSite(AllocationSite* obj);
+ HeapObject* PostProcessNewObject(HeapObject* obj, int space);
// This returns the address of an object that has been described in the
// snapshot by chunk index and offset.
@@ -600,6 +598,7 @@ class Deserializer: public SerializerDeserializer {
ExternalReferenceTable* external_reference_table_;
List<HeapObject*> deserialized_large_objects_;
+ List<Code*> new_code_objects_;
bool deserializing_user_code_;
« no previous file with comments | « no previous file | src/snapshot/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698