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

Unified Diff: runtime/vm/pages.h

Issue 534653002: Bump allocation for promotion (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | « runtime/vm/freelist.cc ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.h
===================================================================
--- runtime/vm/pages.h (revision 39806)
+++ runtime/vm/pages.h (working copy)
@@ -305,6 +305,8 @@
// Attempt to allocate from bump block rather than normal freelist.
uword TryAllocateDataBump(intptr_t size, GrowthPolicy growth_policy);
+ uword TryAllocateDataBumpLocked(intptr_t size, GrowthPolicy growth_policy);
+ uword TryAllocatePromoLocked(intptr_t size, GrowthPolicy growth_policy);
private:
// Ids for time and data records in Heap::GCStats.
@@ -332,6 +334,9 @@
HeapPage::PageType type,
GrowthPolicy growth_policy,
bool is_locked);
+ uword TryAllocateDataBumpInternal(intptr_t size,
+ GrowthPolicy growth_policy,
+ bool is_locked);
HeapPage* AllocatePage(HeapPage::PageType type);
void FreePage(HeapPage* page, HeapPage* previous_page);
HeapPage* AllocateLargePage(intptr_t size, HeapPage::PageType type);
« no previous file with comments | « runtime/vm/freelist.cc ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698