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

Unified Diff: src/snapshot/deserializer.cc

Issue 1818953002: Perform RegisterReservationsForBlackAllocation atomically with deserialization of code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/deserializer.cc
diff --git a/src/snapshot/deserializer.cc b/src/snapshot/deserializer.cc
index 1a94881087ee32ad57fe3e59e50847a3146b5ddb..90f77153253f02fa11afa91cbbd17897e87d46d2 100644
--- a/src/snapshot/deserializer.cc
+++ b/src/snapshot/deserializer.cc
@@ -157,9 +157,9 @@ MaybeHandle<SharedFunctionInfo> Deserializer::DeserializeCode(
DeserializeDeferredObjects();
FlushICacheForNewCodeObjects();
result = Handle<SharedFunctionInfo>(SharedFunctionInfo::cast(root));
+ isolate->heap()->RegisterReservationsForBlackAllocation(reservations_);
}
CommitPostProcessedObjects(isolate);
- isolate->heap()->RegisterReservationsForBlackAllocation(reservations_);
return scope.CloseAndEscape(result);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698