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

Unified Diff: src/serialize.cc

Issue 16099004: Added old data space allocation infrastructure for pretenuring. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
Index: src/serialize.cc
diff --git a/src/serialize.cc b/src/serialize.cc
index 3e70edc59e73818892a1de1600a8f5eb73606ab6..6c5ccea817d0d7e5ad89097ab566d4a632a7cfc7 100644
--- a/src/serialize.cc
+++ b/src/serialize.cc
@@ -558,10 +558,24 @@ void ExternalReferenceTable::PopulateTable(Isolate* isolate) {
UNCLASSIFIED,
58,
"Runtime::AllocateInOldPointerSpace");
+ Add(ExternalReference::old_data_space_allocation_top_address(
+ isolate).address(),
+ UNCLASSIFIED,
+ 59,
+ "Heap::OldDataSpaceAllocationTopAddress");
+ Add(ExternalReference::old_data_space_allocation_limit_address(
+ isolate).address(),
+ UNCLASSIFIED,
+ 60,
+ "Heap::OldDataSpaceAllocationLimitAddress");
+ Add(ExternalReference(Runtime::kAllocateInOldDataSpace, isolate).address(),
+ UNCLASSIFIED,
+ 61,
+ "Runtime::AllocateInOldDataSpace");
Add(ExternalReference::new_space_high_promotion_mode_active_address(isolate).
address(),
UNCLASSIFIED,
- 59,
+ 62,
"Heap::NewSpaceAllocationLimitAddress");
// Add a small set of deopt entry addresses to encoder without generating the
@@ -573,7 +587,7 @@ void ExternalReferenceTable::PopulateTable(Isolate* isolate) {
entry,
Deoptimizer::LAZY,
Deoptimizer::CALCULATE_ENTRY_ADDRESS);
- Add(address, LAZY_DEOPTIMIZATION, 60 + entry, "lazy_deopt");
+ Add(address, LAZY_DEOPTIMIZATION, 63 + entry, "lazy_deopt");
}
}
« src/runtime.cc ('K') | « src/runtime.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698