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

Unified Diff: src/runtime.cc

Issue 14208005: Use worst-fit allocation in old space for prentured objects. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 | « src/mark-compact.cc ('k') | src/spaces.h » ('j') | src/spaces.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 843b8d701cbcb3cf2b09d3eedf80bc2cb65c1852..05d9a07e7f2dd7a20ea2e8271f27fd09bcdc0c23 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -8867,7 +8867,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_AllocateInOldPointerSpace) {
Heap* heap = isolate->heap();
Object* allocation;
{ MaybeObject* maybe_allocation =
- heap->old_pointer_space()->AllocateRaw(size);
+ heap->old_pointer_space()->AllocateRaw<FreeList::WORST_FIT>(size);
if (maybe_allocation->ToObject(&allocation)) {
heap->CreateFillerObjectAt(HeapObject::cast(allocation)->address(), size);
}
« no previous file with comments | « src/mark-compact.cc ('k') | src/spaces.h » ('j') | src/spaces.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698